Setup devise with two scopes on a same model

前端 未结 0 496
日久生厌
日久生厌 2020-11-27 05:16

I\'m trying to setup two different scopes using the same User model.

routes.rb

devise_scope :consumer do
  get "/login" => &q         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题