阅读背景:

如何添加:在Rails中为命名路由设置格式选项?

来源:互联网 

I've got a named route called profile and I would like to be able to access it as json. But when I look at my rake routes output I see that the (.:format) is missing. How do I add it to a named route?I've got a named route called profile and I wou




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: