diff options
| author | mo <mo.khan@gmail.com> | 2017-09-24 18:06:07 -0600 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2017-09-24 18:06:07 -0600 |
| commit | c7ee6fd5562231619169918d8bd75093a01218d1 (patch) | |
| tree | b29c8bbae66a3c554c0b48516fd344a10b72a42d /app/controllers/my | |
| parent | 576a045848457252df3b96e1bd66532d5c86b382 (diff) | |
load tutorials collection on the page.
Diffstat (limited to 'app/controllers/my')
| -rw-r--r-- | app/controllers/my/kitchens_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/my/kitchens_controller.rb b/app/controllers/my/kitchens_controller.rb index 5c9b768b..6b303aa4 100644 --- a/app/controllers/my/kitchens_controller.rb +++ b/app/controllers/my/kitchens_controller.rb @@ -3,6 +3,7 @@ module My def show @tags = Tag.unique_tags @cakes = current_user.creations.includes(:category, :photos, :tags, :tag_taggings) + @tutorials = current_user.tutorials.includes(:tags, :tag_taggings) end end end |
