Class: Administrate::ViewGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
GeneratorHelpers
Defined in:
lib/administrate/view_generator.rb

Defined Under Namespace

Classes: BaseResourcePath

Class Method Summary collapse

Methods included from GeneratorHelpers

#call_generator

Class Method Details

.template_source_pathObject



15
16
17
18
19
20
# File 'lib/administrate/view_generator.rb', line 15

def self.template_source_path
  File.expand_path(
    "../../../app/views/administrate/application",
    __FILE__
  )
end