Answers for "rails generate devise controllers"

0

devise generate controller

$ rails generate devise:controllers users  # `/controllers/users/`

# routes.rb
devise_for :users, controllers: { registrations: 'users/registrations' }
Posted by: Guest on November-22-2020

Browse Popular Code Answers by Language