Class: Passwordless::Generators::ViewsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Passwordless::Generators::ViewsGenerator
- Defined in:
- lib/generators/passwordless/views_generator.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
8 9 10 11 12 |
# File 'lib/generators/passwordless/views_generator.rb', line 8 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 |