Sha256: 0168c242104d4e84b3f374d412fab15439d26b518d4387e875b23a9a217c6fbb
Contents?: true
Size: 347 Bytes
Versions: 33
Compression:
Stored size: 347 Bytes
Contents
require_dependency "ishapi/application_controller" class Ishapi::ProductsController < Ishapi::ApplicationController # before_action :soft_check_long_term_token, only: [ :show ] before_action :check_jwt def show @product = Wco::Product.find params[:id] puts! @product.prices.to_a, 'to_a' authorize! :show, @product end end
Version data entries
33 entries across 33 versions & 1 rubygems