Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanny committed Jan 25, 2010
1 parent f82ae74 commit b3c4896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion depot/app/controllers/application.rb
Expand Up @@ -17,7 +17,7 @@ class ApplicationController < ActionController::Base

protected
def authorize
unless User.find_by_id(:session[:user_id])
unless User.find_by_id(session[:user_id])
flash[:notice] = "ログインしてください"
redirect_to :controller => 'admin', :action => 'login'
end
Expand Down

0 comments on commit b3c4896

Please sign in to comment.