Sha256: 6d39268adc53a38e3ec11cff24d4f5ed154003857bb2603aa03f7c4e7be9576e
Contents?: true
Size: 617 Bytes
Versions: 1
Compression:
Stored size: 617 Bytes
Contents
require "administrate/view_generator" module Administrate module Generators module Views class IndexGenerator < Administrate::ViewGenerator source_root template_source_path def copy_template copy_resource_template("index") copy_resource_template("_collection") copy_resource_template("_collection_header_actions") copy_resource_template("_collection_item_actions") copy_resource_template("_index_header") copy_resource_template("_pagination") copy_resource_template("_search") end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
administrate-1.0.0.beta3 | lib/generators/administrate/views/index_generator.rb |