Skip to content

Commit

Permalink
AP-4575: Remove unneeded save_continue_or_draft override
Browse files Browse the repository at this point in the history
  • Loading branch information
jsugarman committed Nov 9, 2023
1 parent 0aebd49 commit 4860c31
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/controllers/providers/copy_case/searches_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ def update

private

def save_continue_or_draft(form, **)
draft_selected? ? form.save_as_draft : form.save!
return false if form.invalid?

continue_or_draft(**)
end

def form_params
merge_with_model(legal_aid_application) do
next {} unless params[:legal_aid_application]
Expand Down

0 comments on commit 4860c31

Please sign in to comment.