all our api controllers inheriting from base

This commit is contained in:
Brenda Wallace committed 2017-11-13 19:19:18 +13:00
1 parent 41110f96d1
commit fc0058d677
8 files changed
+8 -7

No files matched your search

@@ -1,6 +1,7 @@
module Api
module V1
class BaseController < JSONAPI::ResourceController
abstract
end
end
end
+1 -1
View File
@@ -1,6 +1,6 @@
module Api
module V1
class CropsController < Api::V1::BaseController
class CropsController < BaseController
end
end
end
+1 -1
View File
@@ -1,6 +1,6 @@
module Api
module V1
class GardensController < Api::V1::BaseController
class GardensController < BaseController
end
end
end
@@ -1,6 +1,6 @@
module Api
module V1
class HarvestsController < JSONAPI::ResourceController
class HarvestsController < BaseController
end
end
end
+1 -1
View File
@@ -1,6 +1,6 @@
module Api
module V1
class MembersController < Api::V1::BaseController
class MembersController < BaseController
end
end
end
+1 -1
View File
@@ -1,6 +1,6 @@
module Api
module V1
class PhotosController < Api::V1::BaseController
class PhotosController < BaseController
end
end
end
@@ -1,6 +1,6 @@
module Api
module V1
class PlantingsController < Api::V1::BaseController
class PlantingsController < BaseController
end
end
end
+1 -1
View File
@@ -1,6 +1,6 @@
module Api
module V1
class SeedsController < JSONAPI::ResourceController
class SeedsController < BaseController
end
end
end