Sha256: 631643f2028b0ebe1d0160e37ef353572d7d771630ab87359e99e284781eaf0c

Contents?: true

Size: 256 Bytes

Versions: 10

Compression:

Stored size: 256 Bytes

Contents

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

    def go
      generate_controller_file
      generate_view_files
      add_route
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fae-rails-1.5.1 lib/generators/fae/controller_generator.rb
fae-rails-1.5.0 lib/generators/fae/controller_generator.rb
fae-rails-1.4.1 lib/generators/fae/controller_generator.rb
fae-rails-1.4.0 lib/generators/fae/controller_generator.rb
fae-rails-1.3.1 lib/generators/fae/controller_generator.rb
fae-rails-1.3.0 lib/generators/fae/controller_generator.rb
fae-rails-1.2.5 lib/generators/fae/controller_generator.rb
fae-rails-1.2.4 lib/generators/fae/controller_generator.rb
fae-rails-1.2.3 lib/generators/fae/controller_generator.rb
fae-rails-1.2.2 lib/generators/fae/controller_generator.rb