/
app.rb.tt
36 lines (33 loc) · 1.33 KB
/
app.rb.tt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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_path, "bar" # Set path for I18n translations (default your_app/locales)
# 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