summaryrefslogtreecommitdiff
path: root/app/controllers/api/agents_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api/agents_controller.rb')
-rw-r--r--app/controllers/api/agents_controller.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/controllers/api/agents_controller.rb b/app/controllers/api/agents_controller.rb
index 16174b1..a7307f0 100644
--- a/app/controllers/api/agents_controller.rb
+++ b/app/controllers/api/agents_controller.rb
@@ -1,9 +1,5 @@
module Api
- class AgentsController < ApplicationController
- #before_action do
- #request.format = :json
- #end
-
+ class AgentsController < ApiController
def create
@agent = Agent.create!(agent_params)
end