summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/templates/o_auth/o_auth/consumer.html.eex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/web/templates/o_auth/o_auth/consumer.html.eex')
-rw-r--r--lib/pleroma/web/templates/o_auth/o_auth/consumer.html.eex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/templates/o_auth/o_auth/consumer.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/consumer.html.eex
index 8b894cd58..98904ad64 100644
--- a/lib/pleroma/web/templates/o_auth/o_auth/consumer.html.eex
+++ b/lib/pleroma/web/templates/o_auth/o_auth/consumer.html.eex
@@ -2,7 +2,7 @@
<%= form_for @conn, Routes.o_auth_path(@conn, :prepare_request), [as: "authorization", method: "get"], fn f -> %>
<div style="display: none">
- <%= render @view_module, "_scopes.html", Map.merge(assigns, %{form: f}) %>
+ <%= render Phoenix.Controller.view_module(@conn), "_scopes.html", Map.merge(assigns, %{form: f}) %>
</div>
<%= hidden_input f, :client_id, value: @client_id %>