Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 69a07a9de6
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (31 sloc) 1.44 kB
class Presto < Padrino::Application
configure do
register SassInitializer
##
# 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 :my_layout # Layout can be in views/layouts/foo.ext or views/foo.ext (default :application)
#
set :haml, {:format => :html5 }
end
##
# You can configure for a specified environment like:
#
# configure :development do
# set :foo, :bar
# end
#
error 404 do
render "themes/#{Nesta::Config.theme}/404", :layout => "themes/#{Nesta::Config.theme}/application".to_sym
end
end
Jump to Line
Something went wrong with that request. Please try again.