Permalink
Browse files

Fixing Bug

shipped update with bug where Kory is automatically logged in at all times.
  • Loading branch information...
1 parent 1c57d38 commit a8ba4a0cb1cd25799db6d8eb57e4d4f36ca8ed35 @kcalmes kcalmes committed Nov 30, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/controllers/application_controller.rb
@@ -13,8 +13,8 @@ class ApplicationController < ActionController::Base
before_filter :authorize, :except => [:cas_response, :authenticate, :current_user]
def authorize
- puts params[:action]
- puts params[:controller]
+ #puts params[:action]
+ #puts params[:controller]
authorize! params[:action].to_s.to_sym, params[:controller].to_s.to_sym if params[:format] != 'json'
end
@@ -71,7 +71,7 @@ def current_user
def authenticate
#ADDRED FOR OFFLINE TESTING - UNCOMMENT LATER
- cookies[:net_id] = 'kcalmes'
+ #cookies[:net_id] = 'kcalmes'
cookies[:page_redirect] = request.url

0 comments on commit a8ba4a0

Please sign in to comment.