Class: Godmin::Generators::Base

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/godmin/generators/base.rb

Direct Known Subclasses

NamedBase, InstallGenerator

Class Method Summary collapse

Class Method Details

.source_pathsObject



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.expand_path("../../../generators/godmin/#{path}/templates", __FILE__)
  end
end