Sha256: baee817fdbbe75572216334e4de0d60f1355612e63b66dd93d1b1997f23e1f74
Contents?: true
Size: 1.5 KB
Versions: 2
Compression:
Stored size: 1.5 KB
Contents
class <%= @class_name %> < Padrino::Application configure do ## # Application-specific configuration options # # set :raise_errors, true # Show exceptions (default for development) # set :public, "foo/bar" # Location for static assets (default root/public) # set :sessions, false # Enabled by default # set :reload, false # Reload application files (default in development) # set :default_builder, "foo" # Set a custom form builder (default 'StandardFormBuilder') # set :locale, :en # Set the current I18n.locale (default :en) # set :translations, "bar" # Set path for I18n translations (default your_app/locales) # enable :autolocale # Auto Set locale if url match /:lang/foo/bar (disabled by default) # disable :padrino_helpers # Disables padrino markup helpers (enabled by default if present) # disable :padrino_mailer # Disables padrino mailer (enabled by default if present) # disable :flash # Disables rack-flash (enabled by default) # enable :authentication # Enable padrino-admin authentication (disabled by default) # layout :foo # Layout can be in views/layouts/foo.ext or views/foo.ext (:application is default) # end ## # You can configure for a specified environment like: # # configure :development do # set :foo, :bar # end # ## # You can manage errors like: # # errors 404 do # render 'errors/404' # end # end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
padrino-gen-0.7.2 | lib/padrino-gen/generators/app/app/app.rb.tt |
padrino-gen-0.7.1 | lib/padrino-gen/generators/app/app/app.rb.tt |