test/dummy/config/application.rb in ckeditor-3.6.0 vs test/dummy/config/application.rb in ckeditor-3.6.1

- old
+ new

@@ -15,11 +15,15 @@ # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. # Custom directories with classes and modules you want to be autoloadable. - config.autoload_paths += %W(#{config.root}/../../lib/generators/ckeditor/templates/models/#{CKEDITOR_ORM}) - + config.autoload_paths += %W(#{config.root}/../../lib/generators/ckeditor/templates/models/#{CKEDITOR_ORM}/#{CKEDITOR_BACKEND}) + + if CKEDITOR_BACKEND == :carrierwave + config.autoload_paths += %W(#{config.root}/../../lib/generators/ckeditor/templates/models/base/#{CKEDITOR_BACKEND}/uploaders) + end + # Only load the plugins named here, in the order given (default is alphabetical). # :all can be used as a placeholder for all plugins not explicitly named. # config.plugins = [ :exception_notification, :ssl_requirement, :all ] # Activate observers that should always be running.