Skip to content

Commit

Permalink
Fix indentation in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
cruessler committed Aug 23, 2015
1 parent ededd85 commit 048beee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/phoenix/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,9 @@ defmodule Phoenix.Router do
## Examples
scope "/api/v1", as: :api_v1, alias: API.V1 do
get "/pages/:id", PageController, :show
end
scope "/api/v1", as: :api_v1, alias: API.V1 do
get "/pages/:id", PageController, :show
end
The generated route above will match on the path `"/api/v1/pages/:id"
and will dispatch to `:show` action in `API.V1.PageController`. A named
Expand Down

0 comments on commit 048beee

Please sign in to comment.