Sha256: 31e9e54a74d2cda9ce0b6c67fb3bc866b26fb2162d00d3d826747f85a66d96f7
Contents?: true
Size: 297 Bytes
Versions: 2
Compression:
Stored size: 297 Bytes
Contents
module MegaBar class SitesController < MegaBar::ApplicationController include MegaBar::MegaBarConcern def get_options @options[:mega_bar_sites] = { portfolio_id: Portfolio.all.pluck("name, id"), theme_id: Theme.all.pluck("name, id") } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mega_bar-0.5.2 | app/controllers/mega_bar/sites_controller.rb |
mega_bar-0.5.1 | app/controllers/mega_bar/sites_controller.rb |