diff options
Diffstat (limited to 'app/controllers/admin_controller.rb')
| -rw-r--r-- | app/controllers/admin_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 37fd78b..40cfbdc 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb | |||
| @@ -7,6 +7,7 @@ class AdminController < ApplicationController | |||
| 7 | def index | 7 | def index |
| 8 | @drafts = Node.drafts_and_autosaves(current_user_id: current_user.id).limit(5) | 8 | @drafts = Node.drafts_and_autosaves(current_user_id: current_user.id).limit(5) |
| 9 | @recent_changes = Node.recently_changed.limit(5) | 9 | @recent_changes = Node.recently_changed.limit(5) |
| 10 | @actions = NodeAction.order(:occurred_at => :desc, :id => :desc).limit(5) | ||
| 10 | end | 11 | end |
| 11 | 12 | ||
| 12 | def conventions | 13 | def conventions |
