summaryrefslogtreecommitdiff
path: root/app/controllers/api/v1/cakes_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api/v1/cakes_controller.rb')
-rw-r--r--app/controllers/api/v1/cakes_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/cakes_controller.rb b/app/controllers/api/v1/cakes_controller.rb
index 8888d286..8216d1cf 100644
--- a/app/controllers/api/v1/cakes_controller.rb
+++ b/app/controllers/api/v1/cakes_controller.rb
@@ -2,7 +2,7 @@ module Api
module V1
class CakesController < ApiController
def index
- @cakes = current_user.creations
+ @cakes = current_user.creations.includes(:category, :photos, :tags, :tag_taggings)
end
def show