From fa4cf673223c8c072a651f63d9abc0be8ee06431 Mon Sep 17 00:00:00 2001 From: Luke Barratt Date: Thu, 28 Aug 2014 23:43:15 +0100 Subject: [PATCH] Hotfix: Rollback rules url helper --- app/helpers/application_helper.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 2e74fbe..2c44635 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -178,10 +178,6 @@ module ApplicationHelper end def latest_rules - if Contest.last - article_path(Contest.last.rules) - else - article_path(Article::RULES) - end + article_path(Article::RULES) end end