mix format

This commit is contained in:
Luna D 2020-03-13 09:21:17 -04:00
parent 1983a736f3
commit da5135bc11
No known key found for this signature in database
GPG key ID: D0F46C94720BAA4B

View file

@ -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)