Class: DynamicFieldsets::Generators::ViewsGenerator

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

Overview

Generator for copying the views into the project

Author:

  • Jeremiah Hemphill

Instance Method Summary collapse

Instance Method Details

#copy_or_fetchObject

:nodoc:



18
19
20
21
22
23
24
# File 'lib/generators/dynamic_fieldsets/views_generator.rb', line 18

def copy_or_fetch#:nodoc:
  view_directory :fields
  view_directory :fieldset_associators
  view_directory :fieldset_children
  view_directory :fieldsets
  view_directory :shared
end