Enable project-specific css #1017
This commit is contained in:
parent
1ed846cd01
commit
645f44a419
|
@ -436,6 +436,7 @@ module ApplicationHelper
|
|||
css << 'theme-' + theme.name
|
||||
end
|
||||
|
||||
css << 'project-' + @project.id.to_s if @project.present?
|
||||
css << 'controller-' + params[:controller] if params[:controller]
|
||||
css << 'action-' + params[:action] if params[:action]
|
||||
css.join(' ')
|
||||
|
|
Loading…
Reference in New Issue