Gem 如何定制 devise 的 route?

gechentuo · December 29, 2013 · 2118 hits

我的项目中使用了 devise 用户模块

默认的 routes.rb 文件中关于用户的代码是:

devise_for :users

我想使用这种模式的 route:

resources users do resources stores do

我怎样才能达到这种效果??

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.