Sha256: 62c01f1f46b8da937af1a9088c8122f7a94c6e3d6c6d7a9cc2f1b57c00d965b7
Contents?: true
Size: 562 Bytes
Versions: 30
Compression:
Stored size: 562 Bytes
Contents
module Typus module Generators class InitializersGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) class_option :admin_title, :default => Rails.root.basename desc <<-MSG Description: Copies all Typus initializers into your application. MSG def generate_initializers template "config/initializers/typus.rb", "config/initializers/typus.rb" template "config/initializers/typus_resources.rb", "config/initializers/typus_resources.rb" end end end end
Version data entries
30 entries across 30 versions & 1 rubygems