Sha256: b5061c373c12b5ac0406007ec1db1727a66becfa27433f90f61593fcc29d8286
Contents?: true
Size: 331 Bytes
Versions: 8
Compression:
Stored size: 331 Bytes
Contents
require 'rails/generators' module Hancock::Cms class RobotsGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) argument :app_name, type: :string desc 'Hancock CMS robots.txt generator' def install template('robots.txt.erb', 'public/robots.txt') end end end
Version data entries
8 entries across 8 versions & 1 rubygems