Sha256: c26bdff32174e807c26f0f9509bd64c8108ac8eb98e02c3500722475bca86fb1
Contents?: true
Size: 632 Bytes
Versions: 10
Compression:
Stored size: 632 Bytes
Contents
# require 'active_support/secure_random' module Cloudfuji module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Creates a Devise initializer and copy locale files to your application." class_option :orm def copy_initializer template "cloudfuji.rb", "config/initializers/cloudfuji.rb" end # def copy_locale # copy_file "../../../config/locales/en.yml", "config/locales/devise.en.yml" # end def show_readme readme "README" if behavior == :invoke end end end end
Version data entries
10 entries across 10 versions & 1 rubygems