Fix rules

This commit is contained in:
Ari Timonen 2014-07-01 14:39:40 +03:00
parent bca05d166b
commit 23bc4b4186

View file

@ -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