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

Can we add a configuration within clearance to point to the parent controller? #777

Closed
sithara opened this issue Feb 15, 2018 · 2 comments
Closed

Comments

@sithara
Copy link

sithara commented Feb 15, 2018

Hi
I'm using Rails 5 in api mode and would want all my clearnace controllers to inherit from AdminController instead of the default ApplicationController. Do we have anything similar to how devise addresses this issues:
config.parent_controller = 'AdminController'

Kind Regards
Sithara

@alex-benoit
Copy link

alex-benoit commented Jun 4, 2019

I would also love to see this implemented!

@mjankowski
Copy link
Contributor

Done in #867

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