From 55649101371763227616e76dba1bf6083ac9a9f1 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Mon, 16 Dec 2013 04:34:33 -0300 Subject: [PATCH] application-controller: uncomment protected scope --- app/controllers/application_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c63e91e..4d5b012 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -79,7 +79,7 @@ class ApplicationController < ActionController::Base helper_method :current_person, :current_person - # protected + protected def setup_multitenancy Noosfero::MultiTenancy.setup!(request.host) @@ -174,7 +174,7 @@ class ApplicationController < ActionController::Base end def find_by_contents(asset, scope, query, paginate_options={:page => 1}, options={}) - @plugins.dispatch_first(:find_by_contents, asset, scope, query, paginate_options, options) || + plugins.dispatch_first(:find_by_contents, asset, scope, query, paginate_options, options) || fallback_find_by_contents(asset, scope, query, paginate_options, options) end -- libgit2 0.21.2