"41 /&5 w ౦ࣳใγεςϜגࣜձࣾͰؒϔϧεέΞࣄۀʹैࣄ w 7#/&5 $ 0SBDMF%BUBCBTF w ̍ਓͰىۀ͠Α͏ͱࢼΈΔ͕ࣦഊ w 3VCZPO3BJMT 'VFM1)1 .Z42- "84 "OTJCMF w גࣜձࣾϚπϦΧʹΤϯδχΞೋਓͷۀϝϯόʔͱ͠ ͯ+PJO w /PUJBࣄۀऀ݉4FOTFTϓϩμΫτϚωʔδϟʔ w 3VCZPO3BJMT "OHVMBS+4 .Z42- "84 w ىۀ४උத ܦྺ
== 'table' return json_for_board if params[:page_type] == 'board' return json_for_list if params[:page_type] == 'list' @items = Item.where(...).order(...) end end
end class ItemForTableController < ActionController::API def index ... end end class ItemForBoardController < ActionController::API def index ... end end class ItemForListController < ActionController::API def index ... end end