Sha256: 614c2336f00bfaf8af3866ebc71f37dd55fb328ae05c4c8fa2bd66bc20975b90
Contents?: true
Size: 285 Bytes
Versions: 50
Compression:
Stored size: 285 Bytes
Contents
module ActiveAdmin module Generators class PageGenerator < Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def generate_config_file template "page.rb", "app/admin/#{file_path.tr('/', '_')}.rb" end end end end
Version data entries
50 entries across 50 versions & 6 rubygems