-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added save_only parameter processing to Wizard Controller update meth…
…ods (#1721) * Added save_only parameter processing to update_wizard save_only returns the user to the edit screen after saving instead of redirecting to the next step * adding a save check for new submissions that keeps the user on the current page * Updating test to pass valid paramaters * Adding save only to readme_uploaded * Updating to allow for save_only in review and file location select * Letting rubocop fix some of the violations * Allow file uploaded to stay on page on save * added save only to validate This completes the work, except for the fact that rubocop is not happy with the class now * Moving decorator creation to application controller so wizard and work form can share * Moving update process into compare service fixes a rubocop violation * fixing rubocop issue for file upload in the works wizard controller * fixing rubocop errors * Fixing code to make tests pass * add test for the WorkCompareServie * Updatign for rubocop --------- Co-authored-by: HyppoliteJ <jh6441@princeton.edu>
- Loading branch information
1 parent
08381e8
commit 5ba0354
Showing
6 changed files
with
279 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.