app/controllers/rinfo_controller.rb in rinfo-0.1.3 vs app/controllers/rinfo_controller.rb in rinfo-0.1.4
- old
+ new
@@ -3,9 +3,7 @@
class RinfoController < ApplicationController
include Rails.application.routes.url_helpers
def info
render json: Rinfo.inform!
- rescue
- render nothing: true, status: 404
end
end