fix and hide for visitors,except for album

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-11-21 11:46:06 +08:00
1 parent 96fe482d50
commit ee053cd8ac
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