mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
mix format
This commit is contained in:
parent
1983a736f3
commit
da5135bc11
1 changed files with 6 additions and 1 deletions
|
@ -6,7 +6,12 @@ defmodule PhilomenaWeb.Profile.DescriptionController do
|
|||
|
||||
plug PhilomenaWeb.FilterBannedUsersPlug
|
||||
plug PhilomenaWeb.CanaryMapPlug, edit: :edit_description, update: :edit_description
|
||||
plug :load_and_authorize_resource, model: User, id_name: "profile_id", id_field: "slug", persisted: true
|
||||
|
||||
plug :load_and_authorize_resource,
|
||||
model: User,
|
||||
id_name: "profile_id",
|
||||
id_field: "slug",
|
||||
persisted: true
|
||||
|
||||
def edit(conn, _params) do
|
||||
changeset = Users.change_user(conn.assigns.user)
|
||||
|
|
Loading…
Reference in a new issue