Module: Sinatra::StaticAssets

Defined in:
lib/sinatra/static_assets.rb

Defined Under Namespace

Modules: Helpers

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object



76
77
78
79
# File 'lib/sinatra/static_assets.rb', line 76

def self.registered(app)
  app.helpers StaticAssets::Helpers
  app.disable :xhtml
end