Rendering sass template from a sinatra app doesn't work. Is this due to v.1 incompatibility? Workaro

Posted by aaandre on Stack Overflow See other posts from Stack Overflow or by aaandre
Published on 2010-04-13T22:21:00Z Indexed on 2010/04/13 22:22 UTC
Read the original article Hit count: 271

Filed under:
|
|
get '/stylesheets/style.css' do
  header 'Content-Type' => 'text/css; charset=utf-8'
  sass :style
end

does not produce the stylesheet anymore.

What would be a version 1.0 compatible way to do this? Or, troubleshooting suggestions if you think that the issue is with the code?

The style.sass file is in the /views folder. Haml files from the same folder render OK.

Thank you.

© Stack Overflow or respective owner

Related posts about sinatra

Related posts about sass