ruby on rails - SASS in Sinatra: couldn't set custom directory -


i've read sinatra sass custom directory , sinatra custom sass directory .

but doesn't work me. write app:

require 'sinatra' require 'sass' require 'slim'  configure     set :views, :scss => 'assets/css'  end  '/css/*.css'     scss params[:splat].first.to_sym end  '/'     slim :index end 

when i'm running error:

http://localhost:3000/css/style.css typeerror @ /css/style.css no implicit conversion of hash string 

it's vice versa, first :scss symbol , :views:

configure   set :scss, :views => 'assets/css' end 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -