Create Api::BaseController to allow use of ActiveModelSerializers

Also add index action to Api::CustomersController
This commit is contained in:
Rob Harrington
2018-04-27 16:04:58 +10:00
parent 29922d4be9
commit ffa8a8c7d6
7 changed files with 64 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
module Api
class StatusesController < BaseController
class StatusesController < ::BaseController
respond_to :json
def job_queue