22 lines
540 B
Ruby
22 lines
540 B
Ruby
require File.expand_path('../boot', __FILE__)
|
|
require 'rails/all'
|
|
|
|
Bundler.require(:default, Rails.env) if defined?(Bundler)
|
|
|
|
module Nineminutes
|
|
class Application < Rails::Application
|
|
|
|
# enable caching in development mode
|
|
config.action_controller.perform_caching = true
|
|
config.action_controller.page_cache_directory = Rails.root.to_s+"/public/cache/"
|
|
|
|
# asset packaging
|
|
config.gem "jammit"
|
|
config.serve_static_assets = true
|
|
|
|
config.encoding = "utf-8"
|
|
|
|
config.filter_parameters += [:password]
|
|
end
|
|
end
|