mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-14 22:01:28 +00:00
Hotfix: Rollback rules url helper
This commit is contained in:
parent
eeab976147
commit
fa4cf67322
1 changed files with 1 additions and 5 deletions
|
@ -178,10 +178,6 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def latest_rules
|
def latest_rules
|
||||||
if Contest.last
|
article_path(Article::RULES)
|
||||||
article_path(Contest.last.rules)
|
|
||||||
else
|
|
||||||
article_path(Article::RULES)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue