diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-22 14:38:46 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-22 14:38:46 +0200 |
| commit | 6893270420c13cf1a0af158cf3d4cc71cd7e2005 (patch) | |
| tree | 74f4eb03ffa6d12c09ce22b468a4aafa7c10bc61 /app/controllers/nodes_controller.rb | |
| parent | 2366af57461cd7e76028960a444672a3ce0c3634 (diff) | |
Retire nodes#recent, superseded by the action log
Diffstat (limited to 'app/controllers/nodes_controller.rb')
| -rw-r--r-- | app/controllers/nodes_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb index 6caa827..9c84420 100644 --- a/app/controllers/nodes_controller.rb +++ b/app/controllers/nodes_controller.rb | |||
| @@ -223,10 +223,6 @@ class NodesController < ApplicationController | |||
| 223 | @nodes = index_matching(Node.drafts_and_autosaves) | 223 | @nodes = index_matching(Node.drafts_and_autosaves) |
| 224 | end | 224 | end |
| 225 | 225 | ||
| 226 | def recent | ||
| 227 | @nodes = index_matching(Node.recently_changed) | ||
| 228 | end | ||
| 229 | |||
| 230 | def mine | 226 | def mine |
| 231 | base = Node.joins(:pages) | 227 | base = Node.joins(:pages) |
| 232 | .where("pages.user_id = ? or pages.editor_id = ?", current_user, current_user) | 228 | .where("pages.user_id = ? or pages.editor_id = ?", current_user, current_user) |
