Fix for NCCU 0430 all functions ok with two submanagers but different behavors
This commit is contained in:
1 parent
4a51355b1a
commit
4466e7ae1c
14 files changed
+109
-25
No files matched your search
@@ -2,7 +2,7 @@ class Admin::DashboardsController < ApplicationController
|
||||
|
||||
layout "new_admin"
|
||||
before_filter :authenticate_user!
|
||||
before_filter :is_admin?
|
||||
# before_filter :is_admin?
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
@@ -5,7 +5,8 @@ class Admin::DesignsController < ApplicationController
|
||||
|
||||
layout "new_admin"
|
||||
before_filter :authenticate_user!
|
||||
before_filter :is_admin?
|
||||
before_filter :is_admin?
|
||||
before_filter :for_admin_only
|
||||
|
||||
def upload_package
|
||||
if !params[:design].nil?
|
||||
|
||||
Reference in new issue
Block a user