Make the filter for authorisation easier for developers

This commit is contained in:
chris committed 2013-08-22 12:17:50 +08:00
1 parent 4078d426a6
commit ec40591489
2 files changed
+110 -20

No files matched your search

@@ -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