diff options
| author | mo khan <mo@mokhan.ca> | 2015-02-09 20:36:18 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-02-09 20:36:18 -0700 |
| commit | 41c8858025eb14cab34635b058ccf761dd04eb90 (patch) | |
| tree | 092eebd37ce516b81b248507e82ead59dc63a07b /app/controllers/api/agents_controller.rb | |
| parent | 34f53efff788b7558f63d973aad1f3475c27c125 (diff) | |
use api controller and log errors in fake agent.
Diffstat (limited to 'app/controllers/api/agents_controller.rb')
| -rw-r--r-- | app/controllers/api/agents_controller.rb | 6 |
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 |
