handle errors and fix join form

This commit is contained in:
Josh
2018-06-11 13:05:54 -04:00
parent 2b0f75e62b
commit 2b065eb7fa
23 changed files with 114 additions and 239 deletions

View File

@ -0,0 +1,14 @@
class ErrorsController < ApplicationController
def not_found
render status: 404
end
def unprocessable
render status: 422
end
def internal_error
render status: 500
end
end