diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-19 01:35:39 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-19 01:35:39 +0200 |
| commit | 69c062cc840c0da81b60a4c635a63743caae1bad (patch) | |
| tree | c5bdfda7516a5caed2284b387a7fc4e3cca8ab97 /app/controllers | |
| parent | d4e5b46d460c1717103fd32d1788d5dc0f8abe64 (diff) | |
Fix render gallery rename issue. We saw 500s
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/content_controller.rb | 2 |
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 |
