Merge branch 'visitor_dsahbroad' of github.com:Rulingcom/orbit into visitor_dsahbroad
Conflicts: Gemfile.lock app/controllers/application_controller.rb vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletin_categorys_controller.rb vendor/built_in_modules/news/app/controllers/panel/news/back_end/news_bulletins_controller.rb vendor/built_in_modules/news/app/views/panel/news/back_end/news_bulletins/index.html.erb vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/back_end/web_links_controller.rb
This commit is contained in:
commit
46177000e0
|
@ -2,12 +2,10 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController
|
|||
include AdminHelper
|
||||
include OrbitControllerLib::DivisionForDisable
|
||||
|
||||
layout 'new_admin'
|
||||
|
||||
before_filter :authenticate_user!
|
||||
before_filter :only => [ :new,:create,:edit,:update,:create] do |controller|
|
||||
controller.get_categorys('BulletinCategory')
|
||||
end
|
||||
|
||||
# before_filter :for_admin_only,:only => [:]
|
||||
# before_filter :for_app_manager,:only => [:index,:show,]
|
||||
before_filter :force_order_for_visitor,:only=>[:index,:show,:get_sorted_and_filtered_bulletins]
|
||||
|
|
|
@ -5,7 +5,6 @@ class Panel::News::BackEnd::NewsBulletinCategorysController < OrbitBackendContro
|
|||
before_filter :for_app_sub_manager,:except => [:index]
|
||||
|
||||
|
||||
|
||||
def index
|
||||
@news_bulletin_categorys = get_categories_for_index("NewsBulletinCategory")
|
||||
#TODO 需要做 manager ,admin 才可以 all. 其他 available就好
|
||||
|
|
Loading…
Reference in New Issue