adding broken functionality for A7

This commit is contained in:
Mike McCabe
2013-11-13 18:23:04 -05:00
parent 9cbdbf01e5
commit 91e6797b40
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -1,6 +1,6 @@
class AdminController < ApplicationController
# before_filter :administrative
before_filter :administrative, :if => :admin_param
skip_before_filter :has_info
def dashboard
@@ -45,4 +45,10 @@ class AdminController < ApplicationController
end
end
private
def admin_param
params[:admin_id] != '1'
end
end