Skip to content

Commit

Permalink
Update app/controllers/organizations/default_pet_tasks_controller.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Piotr Borowiec <[email protected]>
  • Loading branch information
vmyts539 and Ptrboro authored Jan 19, 2024
1 parent 7ff1ccf commit fc90832
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ def create
end

def edit
@task = DefaultPetTask.find_by(id: params[:id])
raise ActiveRecord::RecordNotFound if @task.nil?
@task = DefaultPetTask.find(params[:id])
end

def update
Expand Down

0 comments on commit fc90832

Please sign in to comment.