Devise scoped views for roles #2188

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

Projects

None yet

4 participants

@ItalianChef

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
Collaborator

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
Member

@ItalianChef have you tried this?

@josevalim
Member

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

@josevalim josevalim closed this Jan 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment