Commit 8bdc8233c1517191e46078b2db1a58faa6b3c498

Authored by Antonio Terceiro
1 parent 415c307c

require 'noosfero/plugin' after basic initializtion

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
config/application.rb
@@ -14,11 +14,11 @@ if defined?(Bundler) @@ -14,11 +14,11 @@ if defined?(Bundler)
14 # Bundler.require(:default, :assets, Rails.env) 14 # Bundler.require(:default, :assets, Rails.env)
15 end 15 end
16 16
17 -require 'noosfero/plugin'  
18 -  
19 module Noosfero 17 module Noosfero
20 class Application < Rails::Application 18 class Application < Rails::Application
21 19
  20 + require 'noosfero/plugin'
  21 +
22 # Settings in config/environments/* take precedence over those specified here. 22 # Settings in config/environments/* take precedence over those specified here.
23 # Application configuration should go into files in config/initializers 23 # Application configuration should go into files in config/initializers
24 # -- all .rb files in that directory are automatically loaded. 24 # -- all .rb files in that directory are automatically loaded.