Sha256: b724c376bed9d1e1e5cb61c6baa42e163a71d5888fc4ada5da8104a6de1627e6
Contents?: true
Size: 414 Bytes
Versions: 1
Compression:
Stored size: 414 Bytes
Contents
require 'rails/generators' module ForestRails class InstallGenerator < Rails::Generators::Base desc 'Forest Rails Liana installation generator' def install jwt_signing_key = ask('What\'s your project secret key?') route("mount ForestRails::Engine => '/forest'") initializer 'forest_rails.rb' do "ForestRails.jwt_signing_key = '#{jwt_signing_key}'" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
forest_rails-0.0.4 | lib/generators/forest_rails/install_generator.rb |