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

Modify flow to add Paste in Token as default #159

Merged
merged 14 commits into from
Sep 7, 2023
Prev Previous commit
Next Next commit
Fix view generator
  • Loading branch information
mikker committed Sep 7, 2023
commit 851def915c84f6052bc9977f2612e4b97238553d
3 changes: 2 additions & 1 deletion lib/generators/passwordless/views_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ class ViewsGenerator < Rails::Generators::Base
source_root File.expand_path("../../../app/views/passwordless", __dir__)

def install
copy_file("mailer/magic_link.text.erb", "app/views/passwordless/mailer/magic_link.text.erb")
copy_file("mailer/sign_in.text.erb", "app/views/passwordless/mailer/sign_in.text.erb")
copy_file("sessions/new.html.erb", "app/views/passwordless/sessions/new.html.erb")
copy_file("sessions/show.html.erb", "app/views/passwordless/sessions/show.html.erb")
end
end
end
Expand Down