We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fe88a6 commit 828b3c9Copy full SHA for 828b3c9
lib/safira_web/helpers.ex
@@ -196,9 +196,9 @@ defmodule SafiraWeb.Helpers do
196
@doc """
197
Returns the base url path for the user type.
198
## Examples
199
- iex> get_base_path_bu_user_type(%User{type: :attendee})
+ iex> get_base_path_by_user_type(%User{type: :attendee})
200
"app"
201
- iex> get_base_path_bu_user_type(%User{type: :admin})
+ iex> get_base_path_by_user_type(%User{type: :admin})
202
"dashboard"
203
"""
204
def get_base_path_by_user_type(user) do
0 commit comments