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

Version Path
typus-3.1.0.rc19 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc18 lib/generators/typus/initializers_generator.rb
typus-3.0.12 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc17 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc16 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc15 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc14 lib/generators/typus/initializers_generator.rb
typus-3.0.11 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc13 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc12 lib/generators/typus/initializers_generator.rb
typus-3.0.11.rc5 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc11 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc10 lib/generators/typus/initializers_generator.rb
typus-3.0.11.rc4 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc9 lib/generators/typus/initializers_generator.rb
typus-3.0.11.rc3 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc8 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc7 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc6 lib/generators/typus/initializers_generator.rb
typus-3.1.0.rc5 lib/generators/typus/initializers_generator.rb