Sha256: 5dd07d85519033150ea904f614d70cd326303afc2373784b70b972df6988e89b

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

module C80Brands
  module AppHelper

    def brands_list(h3_title=' ')

      if h3_title == ' '
        h3_title = 'Бренды'
      end

      list = Bbrand.all

      render :partial => 'c80_brands/shared/brands_list',
             :locals => {
                 list:      list,
                 h3_title:  h3_title
             }

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
c80_brands-0.1.0.2 app/helpers/c80_brands/app_helper.rb