Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

devise generate controller

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

# routes.rb
devise_for :users, controllers: { registrations: 'users/registrations' }
 
PREVIOUS NEXT
Tagged: #devise #generate #controller
ADD COMMENT
Topic
Name
4+2 =