From 0d2a22f37a7e4ef1ca1ad5b9bb8758129c04ad18 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 26 Feb 2012 19:20:37 +0000 Subject: [PATCH] Use controller_name and action_name instead of params. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9018 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 313b0f933..f04d59e6d 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -476,8 +476,8 @@ module ApplicationHelper css << 'theme-' + theme.name end - css << 'controller-' + params[:controller] - css << 'action-' + params[:action] + css << 'controller-' + controller_name + css << 'action-' + action_name css.join(' ') end -- 2.39.5