Class: Rails::Generators::InheritedResourcesControllerGenerator

Inherits:
ScaffoldControllerGenerator
  • Object
show all
Defined in:
lib/generators/rails/inherited_resources_controller_generator.rb

Class Method Summary collapse

Class Method Details

.source_rootObject


6
7
8
# File 'lib/generators/rails/inherited_resources_controller_generator.rb', line 6

def self.source_root
  @source_root ||= File.expand_path("templates", File.dirname(__FILE__))
end