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

Edit View #19

Merged
merged 3 commits into from
Sep 17, 2017
Merged

Edit View #19

merged 3 commits into from
Sep 17, 2017

Conversation

thesecretmaster
Copy link
Collaborator

I created an editable view, which should close #13. I just need to add CaseNote logging of actions.

@@ -48,16 +48,25 @@ def update
redirect = params[:com_redir].present? ? disaster_request_path(disaster_id: @disaster.id, num: @request.incident_number) : nil
cn = RescueRequest.column_names - %w[id incident_number key created_at updated_at disaster_id]

prev_values = @request.attributes.except %w[updated_at created_at id medical_status_id request_status_id]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can except disaster_id too

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@thesecretmaster thesecretmaster changed the title WIP: Edit View Edit View Sep 17, 2017
@ArtOfCode- ArtOfCode- merged commit 40e4c95 into master Sep 17, 2017
@ArtOfCode- ArtOfCode- deleted the edit-view branch September 17, 2017 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Editable View
3 participants