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:
parent
7c568cccaf
commit
0d2a22f37a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue