diff options
| author | mo k <mo@mokhan.ca> | 2012-09-13 06:40:11 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-09-13 06:40:11 -0600 |
| commit | 6d1fd8fef5d16ad7687002fde507c30b66dde974 (patch) | |
| tree | fff075f0901ce106ecb909111b5f0dbd5955be9a /app/controllers/tutorials_controller.rb | |
| parent | 38ac0a706c9762999299683b0a37330d4bcb3326 (diff) | |
display the newest tutorials first.
Diffstat (limited to 'app/controllers/tutorials_controller.rb')
| -rw-r--r-- | app/controllers/tutorials_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/tutorials_controller.rb b/app/controllers/tutorials_controller.rb index 649305f1..f03e9ad4 100644 --- a/app/controllers/tutorials_controller.rb +++ b/app/controllers/tutorials_controller.rb @@ -2,7 +2,7 @@ class TutorialsController < ApplicationController before_filter :authenticate_user!, :except => [:show, :index] def index - @tutorials = Tutorial.all + @tutorials = Tutorial.all.reverse end def show |
