Sha256: 00b2417bd10bce4550339964f56bde41dda767830e53e06ceeaf64ee74338ebc
Contents?: true
Size: 661 Bytes
Versions: 16
Compression:
Stored size: 661 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("_stylesheet") copy_resource_template("_javascript") copy_resource_template("_flashes") copy_resource_template("_icons") end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems