Sha256: 7a4c254ea6545d553c73573fc11d00fc6e009c7367c2367dea9528cd32e1fd9b

Contents?: true

Size: 200 Bytes

Versions: 2

Compression:

Stored size: 200 Bytes

Contents

module MegaBar 
  class UtilsController <  ActionController::Base
 
    def by_layout
      render json: TemplateSection.where(template_id:  Layout.find(31).template_id).pluck(: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/utils_controller.rb
mega_bar-0.5.1 app/controllers/mega_bar/utils_controller.rb