Sha256: c182fa8872ea867e4b1926396bf162cb70036f07dccee5eb54f4144addc0f77e
Contents?: true
Size: 414 Bytes
Versions: 51
Compression:
Stored size: 414 Bytes
Contents
require 'rails/generators' module ForestLiana 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 ForestLiana::Engine => '/forest'") initializer 'forest_liana.rb' do "ForestLiana.jwt_signing_key = '#{jwt_signing_key}'" end end end end
Version data entries
51 entries across 51 versions & 1 rubygems