Rails 3: Develop user_controller, where is it?

After I create the application as "Users", where are users_controllers.rb ?

+4
source share
1 answer

Devise does not create a controller with your model, so you need to generate it yourself:

 rails g controller Users 

Note that Devise uses its own internal controllers for features such as session management and registration. You can expand them if you need, but this is not necessary.

+8
source

Source: https://habr.com/ru/post/1334243/


All Articles