class Georgia::Generators::ViewsGenerator

Public Instance Methods

copy_pages_views() click to toggle source
# File lib/generators/georgia/views/views_generator.rb, line 6
def copy_pages_views
  copy_file "app/views/pages/show.html.erb"
  copy_file "app/views/pages/templates/_default.html.erb"
  copy_file "app/views/pages/templates/_one-column.html.erb"
  copy_file "app/views/pages/templates/_sidebar-left.html.erb"
  copy_file "app/views/pages/templates/_sidebar-right.html.erb"
  say("Successfully copied Georgia default templates to your application views.", :green)
end