* JamPermissionError instead of PermissionError

This commit is contained in:
Seth Call 2015-05-30 13:30:32 -05:00
parent b436ed7da3
commit cdaac868de
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class ApiMusicSessionsController < ApiController
def show def show
unless @music_session.can_see? current_user unless @music_session.can_see? current_user
# render :json => { :message => ValidationMessages::PERMISSION_VALIDATION_ERROR }, :status => 403 # render :json => { :message => ValidationMessages::PERMISSION_VALIDATION_ERROR }, :status => 403
raise JamRuby::PermissionError raise JamRuby::JamPermissionError
end end
end end