summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-19 01:35:39 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-19 01:35:39 +0200
commit69c062cc840c0da81b60a4c635a63743caae1bad (patch)
treec5bdfda7516a5caed2284b387a7fc4e3cca8ab97 /app/controllers
parentd4e5b46d460c1717103fd32d1788d5dc0f8abe64 (diff)
Fix render gallery rename issue. We saw 500s
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/content_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/content_controller.rb b/app/controllers/content_controller.rb
index 8d33105..8be4bfb 100644
--- a/app/controllers/content_controller.rb
+++ b/app/controllers/content_controller.rb
@@ -31,7 +31,7 @@ class ContentController < ApplicationController
31 def render_gallery 31 def render_gallery
32 unless @page.nil? 32 unless @page.nil?
33 @images = @page.assets.images 33 @images = @page.assets.images
34 render :file => "content/gallery" 34 render :template => 'content/gallery'
35 else 35 else
36 head :not_found 36 head :not_found
37 end 37 end