mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 13:31:06 +00:00
Fix rules
This commit is contained in:
parent
bca05d166b
commit
23bc4b4186
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue