Sha256: adbd37110ec570c490bb63ad2f97c80d857ea38614f65ee8016a51e603a55888
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 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 :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 (default your_app/locales) # enable :sessions # Disabled by default # disable :flash # Disables rack-flash (enabled by default if sessions) # disable :padrino_helpers # Disables padrino markup helpers (enabled by default if present) # disable :padrino_mailer # Disables padrino mailer (enabled by default if present) # enable :authentication # Enable padrino-admin authentication (disabled by default) # layout :my_layout # Layout can be in views/layouts/foo.ext or views/foo.ext (default :application) # end ## # You can configure for a specified environment like: # # configure :development do # set :foo, :bar # end # ## # You can manage errors like: # # error 404 do # render 'errors/404' # end # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
padrino-gen-0.9.10 | lib/padrino-gen/generators/app/app.rb.tt |