Sha256: 7c4f17196a2ae857bd2a3eb4e909be1c3e7150500dbdd60685ef1bc137ac3147
Contents?: true
Size: 418 Bytes
Versions: 16
Compression:
Stored size: 418 Bytes
Contents
module HowTo module Generators class ViewGenerator < Rails::Generators::Base source_root File.expand_path('../../../../app/views/how_to', __FILE__) desc <<DESC Description: Copies HowTo view (show.html.erb) file to your application's /views/how_to directory. DESC def generate_view copy_file "faq/show.html.erb", "app/views/how_to/faq/show.html.erb" end end end end
Version data entries
16 entries across 16 versions & 1 rubygems