Skip to content

Commit

Permalink
For standard installations, generate css to public/stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbroadbent committed Sep 28, 2011
1 parent d65afe0 commit a9a14e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/sass.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Sass::Plugin.options.merge!(
:template_location => 'app/stylesheets/media',
:css_location => 'tmp/stylesheets'
:css_location => ENV['HEROKU'] ? 'tmp/stylesheets' : 'public/stylesheets'
)

Rails.configuration.middleware.delete('Sass::Plugin::Rack')
Expand Down

0 comments on commit a9a14e3

Please sign in to comment.