diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-17 00:43:12 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-17 00:43:12 +0200 |
| commit | e26c0f3693b5a7c030f6280a26d05069aad0029a (patch) | |
| tree | 6db7bbc83df05648b64b735145189156454178b4 /app/controllers/admin_controller.rb | |
| parent | 455d659ffbb0d12d75cc975fbe4cc24ce635ea3a (diff) | |
| parent | c810d1aa93a267dd8fcf8984c5d0b125629efa31 (diff) | |
Merge branch 'master' into erdgeist-modernize-autherdgeist-modernize-auth
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 |
