Switch to aliasing Router.Helpers instead of importing
This commit is contained in:
parent
b221d77a6d
commit
07fed0fda2
21 changed files with 33 additions and 31 deletions
|
|
@ -38,7 +38,7 @@ defmodule Pleroma.Web.TwitterAPI.RemoteFollowController do
|
|||
defp follow_status(conn, _user, acct) do
|
||||
with {:ok, object} <- Fetcher.fetch_object_from_id(acct),
|
||||
%Activity{id: activity_id} <- Activity.get_create_by_object_ap_id(object.data["id"]) do
|
||||
redirect(conn, to: o_status_path(conn, :notice, activity_id))
|
||||
redirect(conn, to: Routes.o_status_path(conn, :notice, activity_id))
|
||||
else
|
||||
error ->
|
||||
handle_follow_error(conn, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue