Sha256: 24da82c68080f0b56a1e045f53a90257137f8f17b83b214fb4041ce62bdb4432

Contents?: true

Size: 409 Bytes

Versions: 228

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

228 entries across 228 versions & 1 rubygems

Version Path
effective_datatables-3.0.7 lib/generators/effective_datatables/install_generator.rb
effective_datatables-3.0.6 lib/generators/effective_datatables/install_generator.rb
effective_datatables-3.0.5 lib/generators/effective_datatables/install_generator.rb
effective_datatables-3.0.4 lib/generators/effective_datatables/install_generator.rb
effective_datatables-3.0.3 lib/generators/effective_datatables/install_generator.rb
effective_datatables-3.0.2 lib/generators/effective_datatables/install_generator.rb
effective_datatables-3.0.1 lib/generators/effective_datatables/install_generator.rb
effective_datatables-3.0.0 lib/generators/effective_datatables/install_generator.rb