Skip to content

Commit

Permalink
fix duplicate link
Browse files Browse the repository at this point in the history
  • Loading branch information
tvcam committed Aug 4, 2023
1 parent 089960e commit dbe501a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/families/_custom_assessment_domain_score.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.modal-body
%table.table.table-bordered.table-striped.table-hover.assessment-score-data{ id: "custom-assessment-score-0" }
= hidden_field(:hidden, :custom_api_assessment, class: 'api-assessment-path', data: { 'assessment-params': family_assessments_path })
= hidden_field(:hidden, :custom_api_assessment, class: 'api-assessment-path', data: { 'assessment-params': get_assessments_family_assessments_path })
= hidden_field(:hidden, :custom_assessment_domain_headers, class: 'assessment-domain-headers', data: { headers: family_assessment_header_mapping.to_json } )
.modal-footer
%button.btn.btn-default.form-btn.editable-cancel{"data-dismiss" => "modal", :type => "button"}= t('clients.assessment_domain_score.close')
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@

namespace :family do
resources :assessments, only: [] do
post :index, on: :collection
post :index, on: :collection, as: :get_assessments
end
end

Expand Down

0 comments on commit dbe501a

Please sign in to comment.