Sha256: 876d79872eecf27514241cb25e9d5eaa98a3f6861d8470d0a12adfb8154b42ef
Contents?: true
Size: 485 Bytes
Versions: 5
Compression:
Stored size: 485 Bytes
Contents
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
5 entries across 5 versions & 2 rubygems