我有以下路线:
view_all_styles /styles/view_all(.:format) styles#view_all
当我指向我的浏览器时,xyz.com/styles/view_all
我收到错误消息:
ActiveRecord::RecordNotFound at /styles/view_all
Couldn't find Style with id=view_all
我也被引导到表演动作??
Request parameters
{"action"=>"show", "controller"=>"styles", "id"=>"view_all"}