invalid-urls #18

Merged
bucky merged 5 commits from invalid-urls into master 2023-10-07 21:13:54 -07:00

5 Commits (master)

Author SHA1 Message Date
Adam Townsend 5bce31baf2 refactored missing link scenario to make more sense
+ 404 code, stay on the current page, and load the form
+ also simplified the logic for the create action if the link doesn't
  already exist
2023-10-07 21:11:12 -07:00
Adam Townsend c7fee27623 update for missing link scenario
+ if the link isn't found, don't redirect it, keep it on the same page
+ it should have a status code of 404
+ it should have the form fields as well

+ added page status check
2023-10-07 21:10:16 -07:00
Adam Townsend f8499a79c2 check if the link exists, redirects home if it doesn't 2023-10-07 13:38:10 -07:00
Adam Townsend b97ee3f3bb use the correct clause format since staying on site 2023-10-07 13:37:51 -07:00
Adam Townsend beb9b0c14a added new scenario 2023-10-07 13:27:00 -07:00