Module: Thor::Actions

Defined in:
lib/active_admin/generator/base.rb

Instance Method Summary collapse

Instance Method Details

#old_source_pathsObject



50
# File 'lib/active_admin/generator/base.rb', line 50

alias_method :old_source_paths, :source_paths

#source_pathsObject



51
52
53
# File 'lib/active_admin/generator/base.rb', line 51

def source_paths
  [ File.expand_path(File.dirname(__FILE__)), File.join(File.expand_path(File.dirname(__FILE__)), "templates") ] + old_source_paths
end