Class: Madmin::ViewGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Madmin::ViewGenerator
- Includes:
- GeneratorHelpers
- Defined in:
- lib/madmin/view_generator.rb
Direct Known Subclasses
Generators::Views::EditGenerator, Generators::Views::FormGenerator, Generators::Views::IndexGenerator, Generators::Views::JavascriptGenerator, Generators::Views::LayoutGenerator, Generators::Views::NavigationGenerator, Generators::Views::NewGenerator, Generators::Views::ShowGenerator, Generators::ViewsGenerator
Defined Under Namespace
Classes: BaseResourcePath
Constant Summary
Constants included from GeneratorHelpers
Class Method Summary collapse
Methods included from GeneratorHelpers
#call_generator, #optimize_indentation, #rails6_1_and_up?, #route, #route_namespace_exists?
Class Method Details
.template_source_path ⇒ Object
10 11 12 13 14 15 |
# File 'lib/madmin/view_generator.rb', line 10 def self.template_source_path File.( "../../../app/views/madmin/application", __FILE__ ) end |