mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-06-01 17:22:16 +00:00
Fix rules
This commit is contained in:
parent
86a278319a
commit
f7d846b469
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…
Add table
Add a link
Reference in a new issue