Temporary open tags to allTemporary open tags to all

This commit is contained in:
chris 2013-04-25 19:41:40 +08:00
parent 3e0822336e
commit 73a0234330
2 changed files with 12 additions and 6 deletions

View File

@ -1,8 +1,11 @@
class Admin::ModuleTagsController < OrbitBackendController
include OrbitTag::Merging
before_filter :force_order_for_visitor, only: [:index]
before_filter :force_order_for_user, except: [:index]
before_filter :for_app_sub_manager, except: [:index]
# TODO = put back ========================
# before_filter :force_order_for_visitor, only: [:index]
# before_filter :force_order_for_user, except: [:index]
# before_filter :for_app_sub_manager, except: [:index]
# ========================================
helper 'admin/tags'

View File

@ -1,8 +1,11 @@
class Admin::TagsController < OrbitBackendController
include OrbitTag::Merging
before_filter :force_order_for_visitor, only: [:index]
before_filter :force_order_for_user, except: [:index]
before_filter :for_app_sub_manager, except: [:index]
# TODO = put back ========================
# before_filter :force_order_for_visitor, only: [:index]
# before_filter :force_order_for_user, except: [:index]
# before_filter :for_app_sub_manager, except: [:index]
# ========================================
def index
@tags = @module_app.module_tags