Skip to content
Snippets Groups Projects
Commit fad351bf authored by ArtOfCode-'s avatar ArtOfCode-
Browse files

Copy fix to current_category

parent 5d14a381
No related merge requests found
...@@ -19,6 +19,8 @@ module CategoriesHelper ...@@ -19,6 +19,8 @@ module CategoriesHelper
@post.category @post.category
elsif defined?(@question) && !@question.category.nil? elsif defined?(@question) && !@question.category.nil?
@question.category @question.category
elsif defined?(@article) && !@article.category.nil?
@article.category
end end
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment