Sha256: 35db6c5676f98b719f4d17397119bad8fa52a2be1856aba91da209e722586f0c
Contents?: true
Size: 336 Bytes
Versions: 8
Compression:
Stored size: 336 Bytes
Contents
module Aureus module Generators class LayoutGenerator < Rails::Generators::Base desc "generate an aureus layout file" source_root File.expand_path("../templates", __FILE__) argument :name, :required => true def generate copy_file "layout.html.haml", "app/views/layouts/"+name+".html.haml" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems