wrong exception

master
Coleman 2008-10-11 17:36:58 -05:00
parent 6fb8772474
commit 9fcc103e15
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Photos < Application
end
def delete
raise NotAllowed unless request.xhr?
raise NotAcceptable unless request.xhr?
if current_user and current_user.administrator?
render
else