wrong exception name
parent
8ee2a5ebf4
commit
9d0f796b75
|
@ -39,7 +39,7 @@ class Application < Merb::Controller
|
|||
@user = if administrator?
|
||||
User.find_by_user_name params[:id]
|
||||
elsif logged_in? and params[:id] != current_user.user_name
|
||||
raise NotAllowed
|
||||
raise NotAcceptable
|
||||
else
|
||||
current_user
|
||||
end
|
||||
|
|
Reference in New Issue