Forked from timriley/Example Sinatra stylesheet action.rb
Created
February 13, 2009 09:23
-
-
Save chriseppstein/63816 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compass.configuration do |config| | |
config.project_path = File.dirname(__FILE__) | |
config.sass_dir = File.join('views', 'stylesheets') | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get "/stylesheets/screen.css" do | |
content_type 'text/css' | |
# Use views/stylesheets & blueprint's stylesheet dirs in the Sass load path | |
sass :"stylesheets/screen", :sass => Compass.sass_engine_options | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment