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



128
129
130
131
# File 'lib/sinatra/static_assets.rb', line 128

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