Skip to content

Commit

Permalink
saas
Browse files Browse the repository at this point in the history
  • Loading branch information
loganathansellappa committed Jan 27, 2012
1 parent 5040aff commit ce4cd44
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/initializers/sass.rb
@@ -0,0 +1,9 @@
Sass::Plugin.options.merge!(
:template_location => 'public/stylesheets/sass',
:css_location => 'tmp/stylesheets'
)

Rails.configuration.middleware.delete('Sass::Plugin::Rack')
Rails.configuration.middleware.insert_before('Rack::Sendfile', 'Sass::Plugin::Rack')

Rails.configuration.middleware.insert_before('Rack::Sendfile', 'Rack::Static',:urls => ['/stylesheets'],:root => "#{Rails.root}/tmp")

0 comments on commit ce4cd44

Please sign in to comment.