class AddSchoolAppliesController < ApplicationController before_action :require_login, :check_auth def create CreateAddSchoolApplyService.call(current_user, create_params) render_ok rescue CreateAddSchoolApplyService::Error => ex render_error(ex.message) end private def create_params params.permit(:name, :province, :city, :address, :remarks) end end