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
|
css << 'theme-' + theme.name
|
||||||
end
|
end
|
||||||
|
|
||||||
css << 'controller-' + params[:controller]
|
css << 'controller-' + controller_name
|
||||||
css << 'action-' + params[:action]
|
css << 'action-' + action_name
|
||||||
css.join(' ')
|
css.join(' ')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue