Commit d205407d38b643dced3d360e293db5c17b22064a
1 parent
c9df6936
Exists in
master
and in
28 other branches
Remove plugin reload on development
This is a known problem that will be fixed as described on http://noosfero.org/Development/ActionItem2932
Showing
1 changed file
with
0 additions
and
6 deletions
Show diff stats
config/initializers/plugins.rb
@@ -6,9 +6,3 @@ require 'noosfero/plugin/mailer_base' | @@ -6,9 +6,3 @@ require 'noosfero/plugin/mailer_base' | ||
6 | require 'noosfero/plugin/settings' | 6 | require 'noosfero/plugin/settings' |
7 | require 'noosfero/plugin/spammable' | 7 | require 'noosfero/plugin/spammable' |
8 | Noosfero::Plugin.init_system if $NOOSFERO_LOAD_PLUGINS | 8 | Noosfero::Plugin.init_system if $NOOSFERO_LOAD_PLUGINS |
9 | - | ||
10 | -if Rails.env == 'development' && $NOOSFERO_LOAD_PLUGINS | ||
11 | - ActionController::Base.send(:prepend_before_filter) do |controller| | ||
12 | - Noosfero::Plugin.init_system | ||
13 | - end | ||
14 | -end |