Sha256: e58d68212f21d7fca73b5cb62391734f6eb49f6c34fd91101e0276e84abb5195
Contents?: true
Size: 368 Bytes
Versions: 12
Compression:
Stored size: 368 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
12 entries across 12 versions & 1 rubygems