Class: Slim::Generators::AuthenticationGenerator

Inherits:
Erb::Generators::AuthenticationGenerator
  • Object
show all
Defined in:
lib/generators/slim/authentication/authentication_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_filesObject



8
9
10
11
12
# File 'lib/generators/slim/authentication/authentication_generator.rb', line 8

def create_files
  template "sessions/new.html.slim", "app/views/sessions/new.html.slim"
  template "passwords/new.html.slim", "app/views/passwords/new.html.slim"
  template "passwords/edit.html.slim", "app/views/passwords/edit.html.slim"
end