Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Devise scoped views for roles #2188

ItalianChef opened this Issue · 3 comments

4 participants

Patrick Frey Carlos Antonio da Silva Lucas Mazza José Valim
Patrick Frey

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

Carlos Antonio da Silva

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?

Lucas Mazza

@ItalianChef have you tried this?

José Valim

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

José Valim josevalim closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.