Sha256: 4b002d28979ea5eb2055be04bbdd7a552be6a52156889b2fa13ce3c1fdfa2c63

Contents?: true

Size: 391 Bytes

Versions: 16

Compression:

Stored size: 391 Bytes

Contents

require "model_base"

require 'rails/generators/erb/scaffold/scaffold_generator'

module ModelBase
  module Generators
    module Erb

      module Scaffold
        def self.enable!
          ::Erb::Generators::ScaffoldGenerator.prepend(self)
        end

        protected

        def available_views
          %w(index edit show new _form _table)
        end
      end

    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
model_base_generators-0.4.0 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.3.9 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.3.8 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.3.7 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.3.6 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.3.5 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.3.4 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.3.3 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.3.2 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.3.1 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.3.0 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.2.4 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.2.3 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.2.2 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.2.1 lib/model_base/generators/erb/scaffold.rb
model_base_generators-0.2.0 lib/model_base/generators/erb/scaffold.rb