Skip to content

Commit

Permalink
player id
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Jun 9, 2024
1 parent 1e6ad1b commit df49512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/player_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def update

def show
id = params[:id]
@track = Track.friendly.find_by(id: id)
@track = Track.friendly.find(id)

render status: :ok and return if @track.blank?
# @next_track = next_track(@track.id)
Expand Down

0 comments on commit df49512

Please sign in to comment.