fix and hide for visitors,except for album

This commit is contained in:
Matthew K. Fu JuYuan authored and chris committed 2012-11-21 18:31:57 +08:00
1 parent ef3fddd863
commit 1279af0c11
16 files changed
+67 -39

No files matched your search

@@ -1,9 +1,13 @@
class Admin::UsersNewInterfaceController < ApplicationController
class Admin::UsersNewInterfaceController < OrbitBackendController
layout "new_admin"
before_filter :authenticate_user!
before_filter :set_attribute, :only => [:index, :show, :new, :edit]
# before_filter :authenticate_user!
# before_filter :set_attribute, :only => [:index, :show, :new, :edit]
before_filter :force_order_for_visitor,:only=>[:index,:show]
before_filter :force_order_for_user,:except => [:index,:show]
before_filter :for_app_sub_manager,:except => [:index,:show]
def index
get_tags
get_sub_roles