mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.26k stars 85 forks source link

Remove reference to deleted generator file #149

Closed puffo closed 1 year ago

puffo commented 1 year ago

After switching to the redirect strategy in https://github.com/mikker/passwordless/pull/120, there was a leftover reference to the deleted file in the view generator. This causes a non-critical error when running the views generator:

$ bin/rails g passwordless:views
      create  app/views/passwordless/mailer/magic_link.text.erb
      create  app/views/passwordless/sessions/new.html.erb
Could not find "sessions/create.html.erb" in any of your source paths. Your current source paths are: ...

Here's a quick fix to remove the reference to that file.

mikker commented 1 year ago

Good catch! Thank you for contributing a fix