Clean up for api/base controller (#3629)

* Move ApiController to Api/BaseController

* API controllers inherit from Api::BaseController

* Add coverage for various error cases in api/base controller
This commit is contained in:
Matt Jankowski authored and Eugen Rochko committed 2017-06-07 20:09:25 +02:00
1 parent 92bb166246
commit 73540ffe6b
35 files changed
+87 -54

No files matched your search

@@ -1,6 +1,6 @@
# frozen_string_literal: true
class Api::SubscriptionsController < ApiController
class Api::SubscriptionsController < Api::BaseController
before_action :set_account
respond_to :txt