Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change controller inheritance #138

Closed
minvs1 opened this issue Feb 7, 2015 · 3 comments
Closed

Change controller inheritance #138

minvs1 opened this issue Feb 7, 2015 · 3 comments

Comments

@minvs1
Copy link

minvs1 commented Feb 7, 2015

I noticed that by default controllers inherits from ApplicationController. How should I change it to different controller? I really don't want to rewrite all controllers in my app although it's a solution.

@nicolas-besnard
Copy link
Contributor

What do you want to achieve ?

@lynndylanhurley
Copy link
Owner

@TomasAchmedovas - The controllers in this gem inherit from DeviseTokenAuth::ApplicationController.

@minvs1
Copy link
Author

minvs1 commented Feb 8, 2015

I need to add some code to it. How can i do that?

Doesn't matter. I will do other way around. Although I wouldn't mind to find out how to do it.

Thanks for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants