We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 757f033 commit 818d23cCopy full SHA for 818d23c
lib/mix/phoenix/scope.ex
@@ -110,13 +110,13 @@ defmodule Mix.Phoenix.Scope do
110
111
## Examples
112
113
- scope_route_prefix("socket.assigns.current_scope", schema_with_scope)
+ route_prefix("socket.assigns.current_scope", schema_with_scope)
114
# => "/orgs/\#{socket.assigns.current_scope.organization.slug}"
115
116
- scope_route_prefix("@current_scope", schema_with_scope)
+ route_prefix("@current_scope", schema_with_scope)
117
# => "/orgs/\#{@current_scope.organization.slug}"
118
119
- scope_route_prefix("scope", schema_with_scope)
+ route_prefix("scope", schema_with_scope)
120
# => "/orgs/\#{scope.organization.slug}"
121
"""
122
def route_prefix(
0 commit comments