Skip to content

Commit

Permalink
Removed unused Devise views and related links for #3188
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvieed committed Jun 29, 2022
1 parent 87a6e37 commit 3b95f69
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 32 deletions.
13 changes: 0 additions & 13 deletions app/views/devise/confirmations/new.html.slim

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/devise/shared/_links.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ ul.signon_links
-if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
li =link_to 'Forgot your password?', new_password_path(resource_name)

-if devise_mapping.confirmable? && controller_name != 'confirmations'
li =link_to 'Didn\'t receive confirmation instructions?', new_confirmation_path(resource_name)

-if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
li =link_to 'Didn\'t receive unlock instructions?', new_unlock_path(resource_name)

-if devise_mapping.omniauthable?
-if ENABLE_GOOGLEOAUTH
li = link_to "Sign in with Google", user_omniauth_authorize_path(:google_oauth2)
Expand Down
13 changes: 0 additions & 13 deletions app/views/devise/unlocks/new.html.slim

This file was deleted.

0 comments on commit 3b95f69

Please sign in to comment.