Class: Godmin::Generators::Base
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Godmin::Generators::Base
- Defined in:
- lib/godmin/generators/base.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.source_paths ⇒ Object
6 7 8 9 10 |
# File 'lib/godmin/generators/base.rb', line 6 def self.source_paths %w[authentication install policy resource].map do |path| File.("../../../generators/godmin/#{path}/templates", __FILE__) end end |