标签: ruby-on-rails rails-routing
说我有这样的路线:
put '/:fair/:user/checkin', :controller => :fair, :action => :checkin
端
有没有办法让控制器操作得到字符串'/:fair/:user/checkin'(Rails路由器匹配的模式)?
'/:fair/:user/checkin'