From 45c4cc5af68285ff695cc757a57a277e311aafbf Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 1 Mar 2022 23:33:28 -0800 Subject: [PATCH] Create weapon_keys_controller.rb --- app/controllers/api/v1/weapon_keys_controller.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/controllers/api/v1/weapon_keys_controller.rb diff --git a/app/controllers/api/v1/weapon_keys_controller.rb b/app/controllers/api/v1/weapon_keys_controller.rb new file mode 100644 index 0000000..cb4a641 --- /dev/null +++ b/app/controllers/api/v1/weapon_keys_controller.rb @@ -0,0 +1,6 @@ +class Api::V1::WeaponKeysController < Api::V1::ApiController + def all + @raids = WeaponKeys.all() + render :all, status: :ok + end +end \ No newline at end of file