Sha256: 28cc4c1b6a808c3ccf9086f164791c428e69c51b28b84a01200a0f86ec0cd485
Contents?: true
Size: 360 Bytes
Versions: 4
Compression:
Stored size: 360 Bytes
Contents
class Vaultify::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 Vaultify::Engine => '/vaultify'\n) end end def inject_vaultify_yml copy_file "config/vaultify.yml", "config/vaultify.yml" end end
Version data entries
4 entries across 4 versions & 1 rubygems