Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP-5647: Update proceeding captions #7578

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/controllers/providers/change_of_names_controller.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module Providers
class ChangeOfNamesController < ProviderBaseController
def show
@proceeding = legal_aid_application.proceedings.last
@proceeding = legal_aid_application.proceedings.order(:created_at).last
form
end

def update
return continue_or_draft if draft_selected?

@proceeding = legal_aid_application.proceedings.last
@proceeding = legal_aid_application.proceedings.order(:created_at).last
if form.valid?
return redirect_to providers_legal_aid_application_change_of_names_interrupt_path(legal_aid_application) if form.change_of_name?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ class ChildSubjectsController < ProviderBaseController
prefix_step_with :proceedings_sca

def show
@proceeding = legal_aid_application.proceedings.last
@proceeding = legal_aid_application.proceedings.order(:created_at).last
form
end

def update
return continue_or_draft if draft_selected?

@proceeding = legal_aid_application.proceedings.last
@proceeding = legal_aid_application.proceedings.order(:created_at).last
if form.valid?
return redirect_to providers_legal_aid_application_sca_interrupt_path(legal_aid_application, "child_subject") unless form.child_subject?

Expand Down
Loading