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