阅读背景:

Rails 3中特定于环境的路由。

来源:互联网 

I'd like to create a scope in my routes.rb file to only route certain URLs when in the production environment. How do you use conditionals with Rails 3 routing? All I need to do is restrict those rules based on I'd like to create a scope in my routes.rb file




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

分享到: