From 4be667b6068c2b82231b6d939e020105dd8f552a Mon Sep 17 00:00:00 2001 From: cktricky Date: Wed, 13 Nov 2013 19:02:37 -0500 Subject: [PATCH] working --- app/controllers/admin_controller.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index d7a29c7..d43dd81 100755 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -1,6 +1,6 @@ class AdminController < ApplicationController - before_filter :administrative, :if => :admin_param + #before_filter :administrative skip_before_filter :has_info def dashboard @@ -45,10 +45,4 @@ class AdminController < ApplicationController end end - - private - - def admin_param - params[:admin_id] != '1' - end end