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