Skip to content

Commit ac839f5

Browse files
authored
Don't import private function name from router (#91)
1 parent 0556cdf commit ac839f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/error_tracker/web/router.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defmodule ErrorTracker.Web.Router do
3434
# paths for navigating through the dashboard.
3535
scoped_path = Phoenix.Router.scoped_path(__MODULE__, path)
3636
# Generate the session name and session hooks.
37-
{session_name, session_opts} = parse_options(opts, scoped_path)
37+
{session_name, session_opts} = ErrorTracker.Web.Router.__parse_options__(opts, scoped_path)
3838

3939
scope path, alias: false, as: false do
4040
import Phoenix.LiveView.Router, only: [live: 4, live_session: 3]
@@ -49,7 +49,7 @@ defmodule ErrorTracker.Web.Router do
4949
end
5050

5151
@doc false
52-
def parse_options(opts, path) do
52+
def __parse_options__(opts, path) do
5353
custom_on_mount = Keyword.get(opts, :on_mount, [])
5454
session_name = Keyword.get(opts, :as, :error_tracker_dashboard)
5555

0 commit comments

Comments
 (0)