mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
fix image index
This commit is contained in:
parent
3e01162176
commit
4c5fcdecb1
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ defmodule PhilomenaWeb.ImageController do
|
|||
alias Philomena.Repo
|
||||
import Ecto.Query
|
||||
|
||||
plug :load_image
|
||||
plug :load_image when action in [:show]
|
||||
|
||||
plug PhilomenaWeb.FilterBannedUsersPlug when action in [:new, :create]
|
||||
plug PhilomenaWeb.UserAttributionPlug when action in [:create]
|
||||
|
|
Loading…
Reference in a new issue