Class: Refinery::CoreGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
core/lib/generators/refinery/core/core_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_refinery_initializerObject


5
6
7
8
# File 'core/lib/generators/refinery/core/core_generator.rb', line 5

def generate_refinery_initializer
  template "config/initializers/refinery/core.rb.erb",
           File.join(destination_root, "config", "initializers", "refinery", "core.rb")
end