Skip to content

Commit

Permalink
Add moduledocs for the new routers, update the split router docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oestrich committed Mar 24, 2019
1 parent a4bf958 commit 04bf3d1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/web/routers/client_router.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
defmodule Web.ClientRouter do
@moduledoc """
Router for client sites
"""

use Web, :router

pipeline :browser do
Expand Down
4 changes: 4 additions & 0 deletions lib/web/routers/hosted_router.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
defmodule Web.HostedRouter do
@moduledoc """
Router for hosted sites
"""

use Web, :router

pipeline :browser do
Expand Down
2 changes: 1 addition & 1 deletion lib/web/routers/split_router.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule Web.SplitRouter do
@moduledoc """
Validate the host matches the configured grapevine host
Select the proper router based on the host header
"""

import Plug.Conn
Expand Down

0 comments on commit 04bf3d1

Please sign in to comment.