Sha256: 39f1e1ced34c11859578cbfdbc5d740d9924a52fb50f49ba100938958a364d38
Contents?: true
Size: 368 Bytes
Versions: 4
Compression:
Stored size: 368 Bytes
Contents
require 'artdeco' module Gitter module Controller def self.included base base.helper_method :render_grid, :decorate end def render_grid grid_class, opts = {} grid_class.new self, opts end def decorate model, *decorator_classes Artdeco::Decorator.new(self).decorate model, *decorator_classes end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gitter-1.1.6 | lib/gitter/controller.rb |
gitter-1.1.5 | lib/gitter/controller.rb |
gitter-1.1.4 | lib/gitter/controller.rb |
gitter-1.1.3 | lib/gitter/controller.rb |