Module: Sinatra::Kittens

Defined in:
lib/sinatra/kittens.rb,
lib/sinatra/kittens/helpers.rb,
lib/sinatra/kittens/version.rb

Defined Under Namespace

Modules: Helpers

Constant Summary collapse

VERSION =
'0.0.4'

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/sinatra/kittens.rb', line 8

def self.registered(app)
  app.helpers Helpers

  app.not_found do
    kittens_page
  end
end