Permalink
Browse files

Edited weaky.rb via GitHub

  • Loading branch information...
FRickReich committed Sep 19, 2011
1 parent 8f46ca1 commit 6dcc39d6293e31223af2a87df0c717e34e2816ba
Showing with 2 additions and 2 deletions.
  1. +2 −2 weaky.rb
View
@@ -60,9 +60,9 @@ class Weaky < Sinatra::Base
redirect '/home'
end
- get '/stylesheet.css' do
+ get '/:name.css' do
content_type 'text/css', :charset => 'utf-8'
- sass :stylesheet
+ sass :"/#{params[:name]}"
end
get '/items/all' do

0 comments on commit 6dcc39d

Please sign in to comment.