Skip to content

Commit

Permalink
remove a stray console print
Browse files Browse the repository at this point in the history
  • Loading branch information
barmintor committed Sep 16, 2024
1 parent f15a1b2 commit 01a627b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/children_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def index
end

def show
puts child(params['id']).inspect
render json: child(params['id']), content_type: 'application/json' # Yes, content_type seems redundant here, but the header wasn't getting sent.
end

Expand Down

0 comments on commit 01a627b

Please sign in to comment.