Pet Rescue is an application making it easy to link adopters/fosters with pets. We work with grassroots pet rescue organizations to understand how we can make the most impact.
Currently in Organizations::Staff::PageTextsController in the update action, if @page_text does not update we redirect to edit_page_text_path, this causes an error, it needs to be edit_staff_page_text_path
To reproduce, upload two About Us images, and save. Then try to upload a third image and save. You will get an error.
Expected behaviour, on attempt of uploading a third image you should get an alert message saying only 2 images allowed.
Currently in
Organizations::Staff::PageTextsController
in the update action, if @page_text does not update we redirect toedit_page_text_path
, this causes an error, it needs to beedit_staff_page_text_path
To reproduce, upload two About Us images, and save. Then try to upload a third image and save. You will get an error. Expected behaviour, on attempt of uploading a third image you should get an alert message saying only 2 images allowed.