Class: Authenticate::Generators::ViewsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/authenticate/views/views_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_localesObject


15
16
17
# File 'lib/generators/authenticate/views/views_generator.rb', line 15

def create_locales
  directory 'config/locales'
end

#create_viewsObject


11
12
13
# File 'lib/generators/authenticate/views/views_generator.rb', line 11

def create_views
  directory 'app/views'
end