# -*- coding: utf-8 -*-
class Mobile::StocksTopController < Mobile::StocksController
  def index    
    require 'config/site_config'
    @show_own_stock = $SHOW_OWN_STOCK
    
    @own_results = hashfy_and_add_disp_names(find_stock('product_category_id', true)) #自社在庫
    @other_results = hashfy_and_add_disp_names(find_stock('product_category_id', false)) #貸し出し在庫
    
    respond_to do |format|
      format.html
    end
    
  end
end
