From 73a02343302f93b4ebfd6235dbd0926cba705324 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 25 Apr 2013 19:41:40 +0800 Subject: [PATCH] Temporary open tags to allTemporary open tags to all --- app/controllers/admin/module_tags_controller.rb | 9 ++++++--- app/controllers/admin/tags_controller.rb | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/controllers/admin/module_tags_controller.rb b/app/controllers/admin/module_tags_controller.rb index ad7eb1a76..7a71c39a4 100644 --- a/app/controllers/admin/module_tags_controller.rb +++ b/app/controllers/admin/module_tags_controller.rb @@ -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' diff --git a/app/controllers/admin/tags_controller.rb b/app/controllers/admin/tags_controller.rb index cc9e4c8f2..bbb5a2055 100644 --- a/app/controllers/admin/tags_controller.rb +++ b/app/controllers/admin/tags_controller.rb @@ -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