class LoldesignPublisher::ViewsGenerator

Public Instance Methods

copy_layouts() click to toggle source
# 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