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

Devise scoped views for roles #2188

Closed
ItalianChef opened this issue Dec 21, 2012 · 3 comments
Closed

Devise scoped views for roles #2188

ItalianChef opened this issue Dec 21, 2012 · 3 comments

Comments

@ItalianChef
Copy link

This is probably related to Issue #1692 Devise scoped views, however, it applies to when views are generated for a specific role (e.g., admins).

The generated partial for links (admins/shared/_links.erb) is not taken, but the default one from the Gem.

I added the customized _links.erb to a new folder devise/shared/_links.erb, and this one is taken. However, it should be in admins/shared/_links.erb

@carlosantoniodasilva
Copy link
Member

According to @rodrigoflores' comment, you should be using admins/_links.erb instead of admins/shared/_links.erb, right? Can you try it out and see if it works?

@lucasmazza
Copy link
Contributor

@ItalianChef have you tried this?

@josevalim
Copy link
Contributor

I am closing this. @ItalianChef, if you have more news, please let us know!

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

No branches or pull requests

4 participants