render_403 and 404 now return true

To prevent any: render_403 and return type of bugs
This commit is contained in:
Jure Grabnar 2016-08-17 14:41:48 +02:00
parent 77f75fdeb6
commit 78cf4f396e

View file

@ -45,7 +45,7 @@ class ApplicationController < ActionController::Base
render json: {}, status: :forbidden
}
end
return
return true
end
def render_404
@ -57,7 +57,7 @@ class ApplicationController < ActionController::Base
render json: {}, status: :not_found
}
end
return
return true
end
private