diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 55be21c..9f01cac 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -175,7 +175,7 @@ module ApplicationHelper def latest_rules if Contest.last - Contest.last.rules + article_path(Contest.last.rules) else article_path(Article::RULES) end