config/routes.rb in rinfo-0.1.1 vs config/routes.rb in rinfo-0.1.2
- old
+ new
@@ -1,5 +1,5 @@
# coding: utf-8
Rails.application.routes.draw do
- get '/rinfo.json', to: 'rinfo#info'
+ get "/#{Rinfo.filename}", to: 'rinfo#info'
end
- old
+ new