how do I link a sass stylesheet to rails templates?
This is a newb question, I know, but I can't seem to figure it out. I've been using rails for a while but always went with regular css. Not sure if I'm supposed to use
<%= stylesheet_link_tag 'style' %>
I store my sass file in public/stylesheets/sass/style.sass
, and di开发者_运维问答d the whole
$ sass --rails /path/to/app
thing.
Oh, I'm trying it with rails-3 beta 2 and haml 3b2. Thanks.
Nevermind, forgot to restart the development server :)
精彩评论