class Theme::Generators::TheBigPictureGenerator

Public Instance Methods

create_page() click to toggle source
# File lib/generators/theme/the_big_picture/the_big_picture_generator.rb, line 10
def create_page
  copy_file 'index.html', 'app/views/visitors/index.html.erb'
  copy_file 'the-big-picture.css', 'app/assets/stylesheets/the-big-picture.css'
  gsub_file 'app/views/layouts/_navigation.html.erb', /navbar-fixed-top/, 'navbar-fixed-bottom'
  gsub_file 'app/views/layouts/application.html.erb', /<html>/, '<html class="full">'
end