Sha256: 3b4356cf2e9b3d9b5d2739f2c4c95fd11e467729835ddb6f03f77b15d640b311
Contents?: true
Size: 431 Bytes
Versions: 7
Compression:
Stored size: 431 Bytes
Contents
require 'securerandom' module Janus module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../../templates', __FILE__) desc "Configures Janus into your app" def copy_initializer template 'janus.rb', 'config/initializers/janus.rb' end def copy_locale template 'janus.en.yml', 'config/locales/janus.en.yml' end end end end
Version data entries
7 entries across 7 versions & 1 rubygems