GRN2-174: Added 404 if user does not exist (#609)

* Added 404 if user does not exist

* Differentiated between 404 and 500

* Rspec fixes
This commit is contained in:
farhatahmad
2019-07-09 11:00:33 -04:00
committed by Jesus Federico
parent e4f50026f1
commit 5d4bd1b851
4 changed files with 54 additions and 8 deletions

View File

@ -140,6 +140,8 @@ en:
not_found:
message: Whoops! Looks like we can't find that.
help: Is it possible its been removed?
user_message: User Not Found.
user_help: Sorry, this user is not registered.
title: Errors
unauthorized:
message: You do not have access to this application