GRN2-192: Made error pages more descriptive (#620)

* GRN2-192

* Brought back error codes
This commit is contained in:
farhatahmad
2019-07-10 11:51:19 -04:00
committed by Jesus Federico
parent 523d9a38f2
commit c7a0c6a463
11 changed files with 38 additions and 56 deletions

View File

@ -22,7 +22,6 @@ Rails.application.routes.draw do
# Error routes.
match '/401', to: 'errors#unauthorized', via: :all, as: :unauthorized
match '/404', to: 'errors#not_found', via: :all, as: :not_found
match '/422', to: 'errors#unprocessable', via: :all
match '/500', to: 'errors#internal_error', via: :all, as: :internal_error
# Signin/Signup routes.