2018-06-10から1日間の記事一覧
schoolコントローラーindexアクションのみbefore_actionでnot_registered_schoolをスキップしたいとき(ややこしい、、、) class ApplicationController < ActionController::Base before_action : not_registered_school,except: [:index] ,if: :school_cont…
schoolコントローラーindexアクションのみbefore_actionでnot_registered_schoolをスキップしたいとき(ややこしい、、、) class ApplicationController < ActionController::Base before_action : not_registered_school,except: [:index] ,if: :school_cont…