diff options
| author | mo khan <mo@mokhan.ca> | 2014-08-27 20:20:05 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-08-27 20:20:05 -0600 |
| commit | 63a7ad7c201aa37338fc78d847d5b7fbd5336f20 (patch) | |
| tree | 2380f8bc543aac5fbf9f94ed946b08603e721d1f /app/controllers/application_controller.rb | |
| parent | e1aae72b51538d13473294cb11b02b19beb5fcc4 (diff) | |
remove usused fields.
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index fe3fc211..db67fe28 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -30,9 +30,6 @@ class ApplicationController < ActionController::Base def load_header @categories = Category.all - @newest_tutorials = Tutorial.order(:created_at => :desc).limit(3) - @newest_members = User.order(:created_at => :desc).limit(3) - @top_members = User.order(:creations_count => :desc).limit(3) end def authenticate! |
