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