diff options
| author | mo khan <mo@mokhan.ca> | 2015-03-18 21:09:25 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-03-18 21:09:25 -0600 |
| commit | d2b6151f39b1f8506ee33ddcfe6496ff54a9afa0 (patch) | |
| tree | c9de553d52c7532c6a6de9e1b04402e45b3f7912 /app/controllers | |
| parent | 180578243770744b4ee054500f1d4a91eb048c5c (diff) | |
remove fluid container from tutorials page.
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/tutorial_tags_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/tutorial_tags_controller.rb b/app/controllers/tutorial_tags_controller.rb index 2a217375..c13d0c05 100644 --- a/app/controllers/tutorial_tags_controller.rb +++ b/app/controllers/tutorial_tags_controller.rb @@ -5,6 +5,6 @@ class TutorialTagsController < ApplicationController def show @tag = params[:id].downcase.gsub(/ /, '-') - @tutorials = Tutorial.includes(:user).tagged_with(@tag).page(params[:page]).per(12) + @tutorials = Tutorial.tagged_with(@tag).includes([:tags]).page(params[:page]).per(12) end end |
