Sha256: df77761a3625aee6d2576ae0aaf22da48026e40f7673f251330e92591273f715

Contents?: true

Size: 259 Bytes

Versions: 14

Compression:

Stored size: 259 Bytes

Contents

require_dependency "ishapi/application_controller"
module Ishapi
  class ProductsController < ApplicationController

    def show
      @product = ::CoTailors::Product.where( :kind => params[:kind] ).first
      authorize! :show, @product
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ishapi-0.1.8.85 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.84 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.83 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.82 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.81 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.80 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.79 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.78 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.77 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.76 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.75 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.73 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.72 app/controllers/ishapi/products_controller.rb
ishapi-0.1.8.71 app/controllers/ishapi/products_controller.rb