Pettanr::Application.configure do
+
+ ActiveSupport::Dependencies.autoload_paths << File::join( Rails.root, 'lib')
+ ActiveSupport::Dependencies.explicitly_unloadable_constants << 'Editor'
+ ActiveSupport::Dependencies.explicitly_unloadable_constants << 'Manifest'
+ ActiveSupport::Dependencies.explicitly_unloadable_constants << 'Peta'
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
# Expands the lines which load the assets
config.assets.debug = true
+
+ # config.assets.digest = true
+ # config.static_cache_control = "public, max-age=1"
end
-require 'local_picture'
-PictureIO.setup do |config|
- config.original_picture_io = PictureIO::LocalPicture.new '/sites/original/pettanr/'
- config.resource_picture_io = PictureIO::LocalPicture.new '/sites/resource/pettanr/'
- config.system_picture_io = PictureIO::LocalPicture.new '/sites/system/pettanr/'
-end
-module Pettanr
- if File.exist? Rails.root + 'config/test_layout'
- TestLayout = 'test'
- else
- TestLayout = false
- end
-end