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