Sha256: ebc65376ce4351513b1021c021fb0db7c5b892820c6d594c1c9996e186e729e6

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

require_relative 'base_generator'
module Fae
  class ScaffoldGenerator < Fae::BaseGenerator
    source_root ::File.expand_path('../templates', __FILE__)

    def go
      generate_model
      generate_controller_file
      generate_view_files
      add_route
      inject_nav_item
    end

  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
fae-railsz-2.1.0 lib/generators/fae/scaffold_generator.rb
fae-rails-2.0.0 lib/generators/fae/scaffold_generator.rb