Sha256: 1055dbd82b7e9454649f684855341cc40791baaecba37473629f39a76fad4c97
Contents?: true
Size: 435 Bytes
Versions: 32
Compression:
Stored size: 435 Bytes
Contents
module Hobo class SubsiteTaglibGenerator < Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) include Generators::Hobo::InviteOnly include Generators::Hobo::Taglib def self.banner "rails generate hobo:subsite_taglib NAME [options]" end def generate_taglib template "taglib.dryml.erb", File.join('app/views/taglibs', "#{file_name}_site.dryml") end end end
Version data entries
32 entries across 32 versions & 1 rubygems