Sha256: 444c2d04164da587cde7888a77462654caf9302216ffa0245bcc31b4ad58a09c

Contents?: true

Size: 1.11 KB

Versions: 14

Compression:

Stored size: 1.11 KB

Contents

class <%= @app_name %> < Padrino::Application
  register Padrino::Mailer
  register Padrino::Helpers

  ##
  # Application configuration options
  #
  # set :raise_errors, true     # Show exceptions (default for development)
  # set :public, "foo/bar"      # Location for static assets (default root/public)
  # set :reload, false          # Reload application files (default in development)
  # set :default_builder, "foo" # Set a custom form builder (default 'StandardFormBuilder')
  # set :locale_path, "bar"     # Set path for I18n translations (defaults to app/locale/)
  # enable  :sessions           # Disabled by default
  # disable :flash              # Disables rack-flash (enabled by default if sessions)
  # layout  :my_layout          # Layout can be in views/layouts/foo.ext or views/foo.ext (default :application)
  #

  ##
  # You can configure for a specified environment like:
  #
  #   configure :development do
  #     set :foo, :bar
  #     disable :asset_stamp # no asset timestamping for dev
  #   end
  #

  ##
  # You can manage errors like:
  #
  #   error 404 do
  #     render 'errors/404'
  #   end
  #
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
padrino-gen-0.9.24 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.23 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.22 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.21 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.20 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.19 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.18 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.17 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.16 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.15 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.14 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.13 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.12 lib/padrino-gen/generators/app/app.rb.tt
padrino-gen-0.9.11 lib/padrino-gen/generators/app/app.rb.tt