Sha256: b0fac1c923ae381d6bb7a9ff3f0c4a8f6490b91d2019712f70cebea2adccfaee
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
require "administrate/view_generator" module Administrate module Generators module Views class LayoutGenerator < Administrate::ViewGenerator source_root template_source_path def copy_template copy_file( "../../layouts/administrate/application.html.erb", "app/views/layouts/admin/application.html.erb", ) call_generator("administrate:views:navigation") copy_resource_template("_javascript") copy_resource_template("_flashes") end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
administrate-0.7.0 | lib/generators/administrate/views/layout_generator.rb |