Sha256: ba0eab9b18c042fa75d7bc9d011e1dfb7543e8415ae8aed11e4913e5825d5a58
Contents?: true
Size: 472 Bytes
Versions: 13
Compression:
Stored size: 472 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
13 entries across 13 versions & 1 rubygems