projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86fec45
)
Apply suggestion to lib/pleroma/web/controller_helper.ex
author
lain
<lain@soykaf.club>
Wed, 10 Jun 2020 18:56:46 +0000
(18:56 +0000)
committer
lain
<lain@soykaf.club>
Wed, 10 Jun 2020 18:56:46 +0000
(18:56 +0000)
lib/pleroma/web/controller_helper.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/controller_helper.ex
b/lib/pleroma/web/controller_helper.ex
index 88f2cc6f1888767d4fd8c987b40ff04e5d91deca..a5eb3e9e09f3940756e662b847a28eb96ebf5978 100644
(file)
--- a/
lib/pleroma/web/controller_helper.ex
+++ b/
lib/pleroma/web/controller_helper.ex
@@
-76,7
+76,7
@@
defmodule Pleroma.Web.ControllerHelper do
# This is because we only have ids present inside of the page, while
# `min_id`, `since_id` and `max_id` requires to know one outside of it.
if Map.take(conn.params, @id_keys) != [] do
- Map.put(fields, "id", current_url(conn
, conn.params
))
+ Map.put(fields, "id", current_url(conn))
else
fields
end