Sha256: 7d896f50201f7e8e390d86591ff3b92d0e80e0814b272441eff553f35c9f77cb
Contents?: true
Size: 369 Bytes
Versions: 21
Compression:
Stored size: 369 Bytes
Contents
module InsteddRails module Generators class LayoutGenerator < ::Rails::Generators::Base source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates')) desc "Copy layout files to your application." def copy_initializer copy_file "application.html.erb", "app/views/layouts/application.html.erb" end end end end
Version data entries
21 entries across 21 versions & 1 rubygems