Sha256: 4a4003fdaaa8007c268907d772377989f5760d58f4bf25f889020511081bbf77

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

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

    def go
      generate_model
      generate_graphql_type
      generate_controller_file
      generate_view_files
      add_route
      inject_nav_item
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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