Enable project-specific css #1017

This commit is contained in:
Felix Schäfer 2012-06-21 10:28:44 +02:00 committed by Kolan Sh
parent 1ed846cd01
commit 645f44a419
1 changed files with 1 additions and 0 deletions

View File

@ -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(' ')