Sha256: 4b7711ea85b79685460739f1374dbc8903f1390b9adc4e5fabbd2f88d4a88183
Contents?: true
Size: 423 Bytes
Versions: 6
Compression:
Stored size: 423 Bytes
Contents
require 'rails/generators' class ContentmentViewsGenerator < Rails::Generators::Base desc "This generator creates the views for Contentment" def self.source_root File.join(File.dirname(__FILE__), 'contentment/contentment_views_templates') end def install puts "Installing Views" template 'contents_helper.rb', 'app/helpers/contents_helper.rb' directory 'contents', 'app/views/contents' end end
Version data entries
6 entries across 6 versions & 1 rubygems