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
This commit is contained in:
Jean-Philippe Lang 2012-02-26 19:20:37 +00:00
parent 7c568cccaf
commit 0d2a22f37a
1 changed files with 2 additions and 2 deletions

View File

@ -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