Class: LoldesignPublisher::ViewsGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_layoutsObject



6
7
8
9
10
11
12
13
14
# File 'lib/generators/loldesign_publisher/views_generator.rb', line 6

def copy_layouts
  copy_file 'publisher.html.erb'              , 'app/views/layouts/loldesign_publisher/publisher.html.erb'
  copy_file '_header_main.html.erb'           , 'app/views/layouts/loldesign_publisher/_header_main.html.erb'
  copy_file '_nav_main.html.erb'              , 'app/views/layouts/loldesign_publisher/_nav_main.html.erb'
  copy_file 'modules/_add_resource.html.erb'  , 'app/views/layouts/loldesign_publisher/modules/_add_resource.html.erb'
  copy_file 'modules/_messages.html.erb'      , 'app/views/layouts/loldesign_publisher/modules/_messages.html.erb'
  copy_file 'modules/_td_not_found.html.erb'  , 'app/views/layouts/loldesign_publisher/modules/_td_not_found.html.erb'
  copy_file 'modules/_title_page.html.erb'    , 'app/views/layouts/loldesign_publisher/modules/_title_page.html.erb'
end