Skip to content

Commit c91797a

Browse files
committed
Format
1 parent 368171e commit c91797a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/philomena_web/controllers/profile/scratchpad_controller.ex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ defmodule PhilomenaWeb.Profile.ScratchpadController do
66

77
plug PhilomenaWeb.FilterBannedUsersPlug
88
plug PhilomenaWeb.CanaryMapPlug, edit: :index, update: :index
9-
plug :load_and_authorize_resource, model: User, id_name: "profile_id", id_field: "slug", persisted: true
9+
10+
plug :load_and_authorize_resource,
11+
model: User,
12+
id_name: "profile_id",
13+
id_field: "slug",
14+
persisted: true
1015

1116
def edit(conn, _params) do
1217
changeset = Users.change_user(conn.assigns.user)

0 commit comments

Comments
 (0)