yak(behavior-tests-web-controllers-and-auth-edge-cases-o04i): behavior tests: web controllers and auth edge cases
This commit is contained in:
@@ -14,9 +14,8 @@ defmodule FirehoseWeb.Router do
|
||||
plug :fetch_current_scope_for_user
|
||||
end
|
||||
|
||||
pipeline :api do
|
||||
plug :accepts, ["json"]
|
||||
end
|
||||
# No :api pipeline: the JSON blog API is served by
|
||||
# forward "/api/blog/...", Blogex.Router below, which sets its own content types.
|
||||
|
||||
scope "/", FirehoseWeb do
|
||||
pipe_through :browser
|
||||
|
||||
Reference in New Issue
Block a user