Sha256: cf4b9d0e8002576d0f0b00a28d2477f5daf862043b963c107a8743d030c79fc2
Contents?: true
Size: 364 Bytes
Versions: 8
Compression:
Stored size: 364 Bytes
Contents
class Qa::InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def inject_routes insert_into_file "config/routes.rb", after: ".draw do" do %(\n mount Qa::Engine => '/qa'\n) end end def copy_oclcts_configs copy_file "config/oclcts-authorities.yml", "config/oclcts-authorities.yml" end end
Version data entries
8 entries across 8 versions & 1 rubygems