From 73bb575982b2b773ba11f849dcf0ac98cf1009ea Mon Sep 17 00:00:00 2001 From: Ari Timonen Date: Tue, 1 Jul 2014 14:39:40 +0300 Subject: [PATCH] Fix rules --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 55be21c..9f01cac 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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