lib/sinatra/classy_assets.rb in classy_assets-0.11.1 vs lib/sinatra/classy_assets.rb in classy_assets-0.11.2
- old
+ new
@@ -1,9 +1,7 @@
# encoding: utf-8
-#require 'rack/classy_assets'
-
module Sinatra
module ClassyAssets
module Helpers
def stylesheet_tag(sources, options = {})
options = { media: 'screen' }.merge(options)
@@ -22,10 +20,9 @@
::ClassyAssets.asset_url_for(source)
end
end
def self.registered(app)
- #app.use ::Rack::ClassyAssets
app.helpers Helpers
end
end
register ClassyAssets
end