Sha256: 6603bfc8e4060525e7ac96dff21ecd63c72c145015b2c3ecb9c70f253c5de8aa

Contents?: true

Size: 291 Bytes

Versions: 9

Compression:

Stored size: 291 Bytes

Contents

module Administrador
  class OffcanvasViewHelper < Rao::ViewHelper::Base
    def offcanvas(id, options = {})
      on_open_url = options.delete(:load)
      c.render partial: 'offcanvas_view_helper/offcanvas', locals: { id: id, options: options, on_open_url: on_open_url }
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
administrador-0.0.9.pre app/view_helpers/administrador/offcanvas_view_helper.rb
administrador-0.0.8.pre app/view_helpers/administrador/offcanvas_view_helper.rb
administrador-0.0.7.pre app/view_helpers/administrador/offcanvas_view_helper.rb
administrador-0.0.6.pre app/view_helpers/administrador/offcanvas_view_helper.rb
administrador-0.0.5.pre app/view_helpers/administrador/offcanvas_view_helper.rb
administrador-0.0.4.pre app/view_helpers/administrador/offcanvas_view_helper.rb
administrador-0.0.3.pre app/view_helpers/administrador/offcanvas_view_helper.rb
administrador-0.0.2.pre app/view_helpers/administrador/offcanvas_view_helper.rb
administrador-0.0.1.pre app/view_helpers/administrador/offcanvas_view_helper.rb