Make the filter for authorisation easier for developers
This commit is contained in:
1 parent
4078d426a6
commit
ec40591489
2 files changed
+110
-20
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController
|
||||
|
||||
before_filter :clean_values, :only => [:create, :update]
|
||||
|
||||
prepend_before_filter :set_public, :only => [:index, :show, :get_sorted_and_filtered_bulletins]
|
||||
open_for_visitor :only => [:index, :show, :get_sorted_and_filtered_bulletins]
|
||||
|
||||
before_filter :only => [ :new, :create, :edit, :update ] do |controller|
|
||||
@categories = get_categories_for_form
|
||||
|
||||
Reference in new issue
Block a user