Sha256: 296ed815ef7f72f0ae2022b44ba71208e256cbbb5626a29f15653bcc5e473c23

Contents?: true

Size: 409 Bytes

Versions: 10

Compression:

Stored size: 409 Bytes

Contents

module EffectiveDatatables
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Creates an EffectiveDatatables initializer in your application."

      source_root File.expand_path("../../templates", __FILE__)

      def copy_initializer
        template ('../' * 3) + 'config/effective_datatables.rb', 'config/initializers/effective_datatables.rb'
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
effective_datatables-2.12.2 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.12.1 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.12.0 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.11.2 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.11.1 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.11.0 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.10.0 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.9.0 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.8.0 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.7.0 lib/generators/effective_datatables/install_generator.rb