Sha256: aa4af176208a7b35ee2dd2d515726cfece43314cb9479bcddd5cb8bdf5cd7619

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 Bytes

Contents

- engine.sidebar_controllers.each do |sc|
  - id = "sidebar-#{sc.name.underscore.gsub('/', '-')}"
  - position = sc.sidebar_position || :right
  - size = sc.sidebar_size || '250px'
  - url = sc.sidebar_url || send(engine.router_name).send("#{sc.name.demodulize.underscore.gsub('_controller', '').singularize}_path")
  - mode = sc.sidebar_mode || :modal
  %aside.py-2{ id: id, data: { sidebar: { position: position, size: size, state: :closed, mode: :modal, load: url } } }
  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
administrador-0.0.32.pre app/views/administrador/application_view_helper/_render_engine_sidebars.html.haml
administrador-0.0.31.pre app/views/administrador/application_view_helper/_render_engine_sidebars.html.haml
administrador-0.0.30.pre app/views/administrador/application_view_helper/_render_engine_sidebars.html.haml
administrador-0.0.29.pre app/views/administrador/application_view_helper/_render_engine_sidebars.html.haml