Sha256: aaf667c6f4cdc32c0e411fdc10263a1ab4ffb7a79273b2a53998cb8ee8d8a15f
Contents?: true
Size: 327 Bytes
Versions: 2
Compression:
Stored size: 327 Bytes
Contents
module MegaBar class ThemeJoinsController < MegaBar::ApplicationController include MegaBar::MegaBarConcern def get_options @options[:mega_bar_theme_joins] = { theme_id: Theme.all.pluck("name, id"), themeable_type: [['Layout', 'Layout'], ['Block', 'Block']] } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mega_bar-0.5.2 | app/controllers/mega_bar/theme_joins_controller.rb |
mega_bar-0.5.1 | app/controllers/mega_bar/theme_joins_controller.rb |