Skip to content
Permalink
Browse files

fix

  • Loading branch information...
kyanny committed Jan 25, 2010
1 parent f82ae74 commit b3c4896be56097b54be78e8366d6af8a57013117
Showing with 1 addition and 1 deletion.
  1. +1 −1 depot/app/controllers/application.rb
@@ -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

0 comments on commit b3c4896

Please sign in to comment.
You can’t perform that action at this time.