Class: DuodealerApp::Generators::AuthenticatedControllerGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/duodealer_app/authenticated_controller/authenticated_controller_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_home_controllerObject



8
9
10
# File 'lib/generators/duodealer_app/authenticated_controller/authenticated_controller_generator.rb', line 8

def create_home_controller
  template("authenticated_controller.rb", "app/controllers/authenticated_controller.rb")
end