Sha256: 21e641774ed56e2ce6d92fc0519010e1bd9a63388f8ea2f8b04d04c0ec5d651b

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

module RailsPages
  module Generators
    class ScaffoldGenerator < Rails::Generators::Base
      source_root File.expand_path(__FILE__)

      class_option :controller,     :type => :boolean, :default => true
      class_option :resource_route, :type => :boolean, :default => true

      hook_for :controller
      hook_for :resource_route
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_pages-0.0.2 lib/generators/rails_pages/scaffold/scaffold_generator.rb
rails_pages-0.0.1 lib/generators/rails_pages/scaffold/scaffold_generator.rb