Sha256: 3084951d7bac52cb8510787503e5d95dcb7e1bfff451c863bf200d23d45d2b05
Contents?: true
Size: 657 Bytes
Versions: 6
Compression:
Stored size: 657 Bytes
Contents
require 'rails/generators' module Theme module Generators class TheBigPictureGenerator < ::Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) desc "A Bootstrap HTML starter template (from startbootstrap.com)" 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 end end end
Version data entries
6 entries across 6 versions & 1 rubygems