Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-exz committed Oct 4, 2023
1 parent 31ea908 commit d4cc696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/duties_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def edit
end

def update
@Duty = Duty.find(params[:id])
@Duty.update(
@duty = Duty.find(params[:id])
@duty.update(
opsgenie_escalation_name: params[:duty][:opsgenie_escalation_name],
opsgenie_schedule_name: params[:duty][:opsgenie_schedule_name]
)
Expand Down

0 comments on commit d4cc696

Please sign in to comment.