Devise Controller Filters Helpers

suggest change

To require a signed-in user, add this callback. It assumes the Devise model is User:

before_action :authenticate_user!

To verify if a user is signed in, use the following helper:

user_signed_in?

For the current signed-in user, use this helper:

current_user

You can access the session for this scope:

user_session

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents