Sha256: 979af10dd26ab22a41a88f3baeb5d1307834f3615decd7f1e6be56b3ffaccde6

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

module MegaBar 
  class PortfoliosController < MegaBar::ApplicationController
    include MegaBar::MegaBarConcern

    def get_options
      @options[:mega_bar_portfolios] =  {
        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/portfolios_controller.rb
mega_bar-0.5.1 app/controllers/mega_bar/portfolios_controller.rb