Sha256: 20c725e788972f2e398e5ece26121ca2312f0916b5744c8bce417d550493826c

Contents?: true

Size: 255 Bytes

Versions: 7

Compression:

Stored size: 255 Bytes

Contents

module TestBh
  class App < Padrino::Application
    register Padrino::Helpers
    register Padrino::Rendering

    register Bh

    get :root, map: '/' do
      render :index
    end

    get :users, map: '/users' do
      render :index
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bh-1.3.6 examples/padrino/app/app.rb
bh-1.3.5 examples/padrino/app/app.rb
bh-1.3.4 examples/padrino/app/app.rb
bh-1.3.3 examples/padrino/app/app.rb
bh-1.3.1 examples/padrino/app/app.rb
bh-1.3.0 examples/padrino/app/app.rb
bh-1.2.0 examples/padrino/app/app.rb