diff --git a/app/controllers/api/v1/raids_controller.rb b/app/controllers/api/v1/raids_controller.rb index 6e9e51c..f5b898e 100644 --- a/app/controllers/api/v1/raids_controller.rb +++ b/app/controllers/api/v1/raids_controller.rb @@ -4,8 +4,7 @@ module Api module V1 class RaidsController < Api::V1::ApiController def all - @raids = Raid.all - render :all, status: :ok + render json: RaidBlueprint.render(Raid.all) end end end