O'Reilly logo

Learning Devise for Rails by Nia Mutiara, Hafiz, Giovanni Sakti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing Devise actions and routes

We have learned all the basic features that are commonly used in an application. Some of them are minimally customized and some of them are used as is. Maybe now is the time for you to wonder, "What if I want to customize Devise's actions, so that I can inject extra codes to do anything I want?" So, let's step forward to customize Devise's actions.

Technically, to perform action customizations, we need to create a controller that inherits Devise's controllers. It would be wise if you have a look at all of Devise's controllers first before we start this part, as shown at https://github.com/plataformatec/devise/tree/master/app/controllers/devise. So, when you start making some customizations, you will understand ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required