summaryrefslogtreecommitdiff
path: root/app/controllers/nodes_controller.rb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-13 19:28:49 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-13 19:28:49 +0200
commit0113d895e2fd8bf2cf88ae0196b9ab144ac9350b (patch)
tree9e553be1a3681654834231d73e1bf4d2108d61d5 /app/controllers/nodes_controller.rb
parent6e6a66de5f648becd6aee00943d52cd9ce024ed3 (diff)
Remove redundant default translation from the translations subsection
Diffstat (limited to 'app/controllers/nodes_controller.rb')
-rw-r--r--app/controllers/nodes_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb
index 249602d..bff1733 100644
--- a/app/controllers/nodes_controller.rb
+++ b/app/controllers/nodes_controller.rb
@@ -62,7 +62,6 @@ class NodesController < ApplicationController
62 62
63 def show 63 def show
64 @page = @node.draft || @node.head 64 @page = @node.draft || @node.head
65 @default_translation = @page.translations.find_by(:locale => I18n.default_locale)
66 @translations = @page.translation_summary 65 @translations = @page.translation_summary
67 end 66 end
68 67