Sha256: 6216d3e4ced313d7575775f2228e7fde7b94ac482c6d9b15af3ae9dccd6b9c31
Contents?: true
Size: 539 Bytes
Versions: 3
Compression:
Stored size: 539 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