Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Devise scoped views for roles #2188

Closed
ItalianChef opened this Issue · 3 comments

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
Owner

@ItalianChef have you tried this?

@josevalim
Owner

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

@josevalim 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.