lib/sinatra/support/jssupport.rb in sinatra-support-1.2.1 vs lib/sinatra/support/jssupport.rb in sinatra-support-1.2.2
- old
+ new
@@ -28,10 +28,9 @@
# If you're using Bundler, that is:
#
# # Gemfile
# gem "coffee-script", require: "coffee_script"
#
-#
module Sinatra::JsSupport
def self.registered(app)
app.set :js_max_age, app.development? ? 0 : 86400*30
end