Module: McmsPages::Generators::ViewPathTemplates

Extended by:
ActiveSupport::Concern
Included in:
ViewsGenerator
Defined in:
lib/generators/mcms_pages/views_generator.rb

Overview

To generate Pages views. copy_views` is the main method and by default copies all views

Instance Method Summary collapse

Instance Method Details

#copy_viewsObject



32
33
34
35
36
# File 'lib/generators/mcms_pages/views_generator.rb', line 32

def copy_views

  view_directory "mcms_pages/pages"

end