I am writing a sinatra application with haml and sass. When I try to bind in the stylesheet with the scss extension located in my views folder, I get the following error: NoMethodError in /nav.css undefined `scss' method
Here is my get method
get '/nav.css' do content_type 'text/css', :charset => 'utf-8' scss :nav end
I just got this to work when I switch to the older sass syntax. I also have to change nav.scss to nav.sass and the get to sass: nav method
I also tried just with sass: nav with nav.scss and sass: nav with nav.sass, but still with scss syntax
ruby sass sinatra haml
Ben
source share