Commit f65bac2a2cdf931696464cdcb20e0a0442ac47ee
1 parent
bb5134e1
Exists in
staging
and in
42 other branches
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 | 5 | before_filter :init_noosfero_plugins |
| 6 | 6 | before_filter :allow_cross_domain_access |
| 7 | 7 | |
| 8 | - protected | |
| 9 | - | |
| 10 | 8 | def allow_cross_domain_access |
| 11 | 9 | origin = request.headers['Origin'] |
| 12 | 10 | return if origin.blank? | ... | ... |