Fix rules

This commit is contained in:
Ari Timonen 2014-07-01 14:39:40 +03:00 committed by Luke Barratt
parent f2ab3482fd
commit 73bb575982

View file

@ -175,7 +175,7 @@ module ApplicationHelper
def latest_rules def latest_rules
if Contest.last if Contest.last
Contest.last.rules article_path(Contest.last.rules)
else else
article_path(Article::RULES) article_path(Article::RULES)
end end