Sha256: 1827367a6bafad0ae2f2dc8ae8d95fb10d5daf49b9ec72028833642388910e71
Contents?: true
Size: 516 Bytes
Versions: 3
Compression:
Stored size: 516 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' module Datatable module Generators class ConfigGenerator < ::Rails::Generators::Base source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates')) desc <<DESC Description: Creates an initializer file for AjaxDatatablesRails configuration at config/initializers. DESC def copy_config_file template 'ajax_datatables_rails_config.rb', 'config/initializers/ajax_datatables_rails.rb' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems