diff --git a/app/controllers/api/v2/restful_controller.rb b/app/controllers/api/v2/restful_controller.rb index 08177ad7..fdd45524 100644 --- a/app/controllers/api/v2/restful_controller.rb +++ b/app/controllers/api/v2/restful_controller.rb @@ -5,6 +5,7 @@ module Api include Pundit include PunditExtra + protect_from_forgery snorlax_used_rest! before_action :load_resource, only: [:show, :update, :destroy]