Skip to content

Commit

Permalink
fix for controller based assets
Browse files Browse the repository at this point in the history
  • Loading branch information
chiramiso committed Feb 3, 2015
1 parent fd86064 commit 7556f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class Application < Rails::Application
config.assets.paths << Rails.root.join("app", "assets", "fonts")

# controller based assets
config.assets.precompile += Dir["app/assets/stylesheets/controller/*.scss"].map{|file| "controller/#{File.basename file,'.scss'}" }
config.assets.precompile += Dir["app/assets/stylesheets/controller/*.scss"].map{|file| "controller/#{File.basename file,'.scss'}.css" }
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile += %w(
session_expire.js unactivated_article_warning.js
Expand Down

0 comments on commit 7556f81

Please sign in to comment.