Another puts.
This commit is contained in:
parent
8eb7430d9a
commit
3c719e3f97
|
|
@ -35,7 +35,6 @@ class ApiJamTracksController < ApiController
|
|||
private
|
||||
def lookup_jam_track
|
||||
@jam_track_right = JamTrackRight.where("jam_track_id=? AND user_id=?", params[:id], current_user).first
|
||||
puts "@jam_track_right: #{@jam_track_right.nil?}"
|
||||
raise PermissionError, ValidationMessages::PERMISSION_VALIDATION_ERROR unless @jam_track_right
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue