Sha256: fded6e58e93f0d1636a9d6d2780568611aec2e4ef2e37a5491419a886e45877d

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

module Gemgento
  class ProductsController < ApplicationController

    respond_to :json, :html

    def show
      @product = Gemgento::Product.find(params[:id])
      @current_category = @product.current_category(session[:category])
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 app/controllers/gemgento/products_controller.rb