Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Added a views generator #200

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Added a views generator #200

wants to merge 7 commits into from

Conversation

sandergroen
Copy link
Contributor

@sandergroen sandergroen commented Aug 28, 2016

Added a view generator and documentation. To make it easier for users to modify those views.
This closes #46, closes #46, closes #173, and closes #183

@takahashi64
Copy link

takahashi64 commented Mar 2, 2017

Hi @sandergroen, I tried to use this to generate a view to override the default view for Devise::PasswordExpiredController#show

This was the output:

  invoke  DeviseSecurityExtension::Generators::SharedViewsGenerator
  exist    app/views/devise/password_expired
  identical    app/views/devise/password_expired/show.html.erb

However, the default view is still being rendered. I encountered the same problem when I tried to do the above without your generator, so I thought you might have some expertise on this. Thanks.

Edit: see my post on stackoverflow

@danascheider
Copy link

This PR would be so helpful for us!

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

Successfully merging this pull request may close these issues.

Custom Views Custom views Add view generator for password expired.
3 participants