You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a small bug in Refinery::Blog::PostsController in comment action.
When the comment is not valid, this action just render :show template, without firing the present() method on @post variable. So the @meta will not be set, and while the rendered html will be posts/show, there will be common "Blog" browser title and all the meta keywords will be blank.
There is a small bug in
Refinery::Blog::PostsController
incomment
action.When the comment is not valid, this action just
render :show
template, without firing thepresent()
method on@post
variable. So the@meta
will not be set, and while the rendered html will beposts/show
, there will be common "Blog" browser title and all the meta keywords will be blank.https://github.com/refinery/refinerycms-blog/blob/master/app/controllers/refinery/blog/posts_controller.rb#L59
The suggestion is to add same thing as in show action:
Or may be there is a way to do it more DRY
The text was updated successfully, but these errors were encountered: