Sha256: 8ea3173e67aca622d48a64be481cb889533eb24b20e8c134201443501b838636
Contents?: true
Size: 526 Bytes
Versions: 4
Compression:
Stored size: 526 Bytes
Contents
module Qwerty class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc 'Install Qwerty in to your Rails application' invoke 'qwerty:copy_views' def copy_sitemap_config template 'sitemap.rb', 'config/sitemap.rb' end def copy_initializers template 'qwerty.rb', 'config/initializers/qwerty.rb' end def remove_index_html remove_file 'public/index.html' end def show_readme readme 'README' end end end
Version data entries
4 entries across 4 versions & 1 rubygems