app/controllers/rinfo_controller.rb in rinfo-0.1.0 vs app/controllers/rinfo_controller.rb in rinfo-0.1.1

- old
+ new

@@ -2,8 +2,10 @@ class RinfoController < ApplicationController include Rails.application.routes.url_helpers def info - render json: Rinfo.info + render json: Rinfo.inform! + rescue + render nothing: true, status: 404 end end