Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove reference to deleted generator file #149

Merged
merged 2 commits into from
Jun 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,11 @@ end

Override `passwordless`' bundled views by adding your own. You can manually copy the specific views that you need or copy them to your application with `rails generate passwordless:views`.

`passwordless` has 2 action views and 1 mailer view:
`passwordless` has 1 action view and 1 mailer view:

```sh
# the form where the user inputs their email address
app/views/passwordless/sessions/new.html.erb
# shown after a user requests a magic link
app/views/passwordless/sessions/create.html.erb
# the mail with the magic link that gets sent
app/views/passwordless/mailer/magic_link.text.erb
```
Expand Down
1 change: 0 additions & 1 deletion lib/generators/passwordless/views_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class ViewsGenerator < Rails::Generators::Base
def install
copy_file("mailer/magic_link.text.erb", "app/views/passwordless/mailer/magic_link.text.erb")
copy_file("sessions/new.html.erb", "app/views/passwordless/sessions/new.html.erb")
copy_file("sessions/create.html.erb", "app/views/passwordless/sessions/create.html.erb")
end
end
end
Expand Down