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 branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ module CategoriesHelper
@post.category
elsif defined?(@question) && !@question.category.nil?
@question.category
elsif defined?(@article) && !@article.category.nil?
@article.category
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment