Permalink
Browse files

setting content type for sass

  • Loading branch information...
1 parent b8570d7 commit ac4ef7318c2412517c0e5eb950cc5c4f9447c32c Matt H committed Sep 23, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 ahah.rb
View
@@ -3,6 +3,8 @@
require 'haml'
require 'sass'
+mime :style, 'text/css'
+
get '/' do
haml :home
end
@@ -17,6 +19,6 @@
end
get '/stylesheets/application.css' do
- content_type 'text/css', :charset => 'utf-8'
+ content_type :style
sass :application
end

0 comments on commit ac4ef73

Please sign in to comment.