Skip to content

Commit 57a65e4

Browse files
committed
Add hint to pipe through browser before backpex routes
1 parent 2cbd672 commit 57a65e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/get_started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ scope "/admin", MyAppWeb do
274274
end
275275
```
276276

277-
It does not matter where you place the [`backpex_routes/0`](Backpex.Router.html#backpex_routes/0) macro in your router file. You can insert it in every scope you want to, but we recommend placing it in the scope you want to use backpex in, e.g. `/admin`.
277+
It does not matter where you place the [`backpex_routes/0`](Backpex.Router.html#backpex_routes/0) macro in your router file. You can insert it in every scope you want to, but we recommend placing it in the scope you want to use backpex in, e.g. `/admin`. But always make sure that the scope you put it in pipes through the `:browser` pipeline: `pipe_through :browser`.
278278

279279
## Add Init Assigns and LiveSession
280280

0 commit comments

Comments
 (0)