Sha256: 507ab75eb3c13a78c16f5ca8a0a126679261633bea5c686344a04a90906b5ab4

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

module Nitro

module Scaffold

  # Automatically creates a scaffold controller to handle the
  # given models.
  
  def self.controller(*models)
    for m in models
      scaffold_controller(m)
    end
  end
  
  def self.enchant_controller(model)
    eval %{
    
    }  
  end

end

class Controller
end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nitro-0.41.0 lib/nitro/scaffold/controller.rb
nitro-0.40.0 lib/nitro/scaffold/controller.rb