Sha256: 054350c5fbc04ab95168887adcb168af4c2409e5290ed432caf05ee0c4e5b158

Contents?: true

Size: 221 Bytes

Versions: 4

Compression:

Stored size: 221 Bytes

Contents

PADRINO_ROOT = File.dirname(__FILE__) unless defined? PADRINO_ROOT

class RenderDemo < Padrino::Application
  set :reload, true
end

RenderDemo.controllers :blog do
  get '/' do
    render 'post'
  end
end

Padrino.load!

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
padrino-core-0.12.0 test/fixtures/apps/render.rb
padrino-core-0.12.0.rc3 test/fixtures/apps/render.rb
padrino-core-0.12.0.rc2 test/fixtures/apps/render.rb
padrino-core-0.12.0.rc1 test/fixtures/apps/render.rb