wrong exception name

master
Coleman 2008-10-11 17:36:28 -05:00
parent 8ee2a5ebf4
commit 9d0f796b75
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Application < Merb::Controller
@user = if administrator? @user = if administrator?
User.find_by_user_name params[:id] User.find_by_user_name params[:id]
elsif logged_in? and params[:id] != current_user.user_name elsif logged_in? and params[:id] != current_user.user_name
raise NotAllowed raise NotAcceptable
else else
current_user current_user
end end