Commit f65bac2a2cdf931696464cdcb20e0a0442ac47ee

Authored by Rodrigo Souto
1 parent bb5134e1

Removing protected from application controller

Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
app/controllers/application_controller.rb
@@ -5,8 +5,6 @@ class ApplicationController < ActionController::Base @@ -5,8 +5,6 @@ class ApplicationController < ActionController::Base
5 before_filter :init_noosfero_plugins 5 before_filter :init_noosfero_plugins
6 before_filter :allow_cross_domain_access 6 before_filter :allow_cross_domain_access
7 7
8 - protected  
9 -  
10 def allow_cross_domain_access 8 def allow_cross_domain_access
11 origin = request.headers['Origin'] 9 origin = request.headers['Origin']
12 return if origin.blank? 10 return if origin.blank?