Sha256: 9df7b0144d17ca536e436e2bed4f713b1a804c27a08561879c866a28b705e377
Contents?: true
Size: 495 Bytes
Versions: 9
Compression:
Stored size: 495 Bytes
Contents
require_dependency 'application_controller' module Logistics module Core class CustomsOfficesController < ApplicationController include ControllerCommon def index customs_offices = CustomsOffice.all response = Mks::Common::MethodResponse.new(true, nil, customs_offices, nil, nil) render json: response end private def model_params params.require(:customs_office).permit(:code, :name, :location) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems