mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 21:44:11 -04:00
If a user has only send_message permissions, when they click on a template name they are currently taken to the `send_one_off` page. This is incorrect as if there is more than one SMS sender or email reply to address, then they should pick the address they wish to use. This commit fixes that bug by redirecting them to the `set_sender` route. Note, if there is only one sender then the `set_sender` will redirect the user on to the `send_one_off` route. https://www.pivotaltracker.com/story/show/176541486