summaryrefslogtreecommitdiff
path: root/lib/matrix_app_service_web/router.ex
diff options
context:
space:
mode:
authorPierre de Lacroix <pierre@pdelacroix.com>2020-10-19 20:01:38 +0200
committerPierre de Lacroix <pierre@pdelacroix.com>2020-10-19 20:01:38 +0200
commit118649055fae9a6041b6f07ab5485187593da3c7 (patch)
tree584a3f3100dc76bb9f7a58e4330d5a866c784d68 /lib/matrix_app_service_web/router.ex
parentMerge branch 'test-ci' into 'master' (diff)
test: add tests for controllers
Diffstat (limited to 'lib/matrix_app_service_web/router.ex')
-rw-r--r--lib/matrix_app_service_web/router.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/matrix_app_service_web/router.ex b/lib/matrix_app_service_web/router.ex
index ca37fe0..2c2f0ca 100644
--- a/lib/matrix_app_service_web/router.ex
+++ b/lib/matrix_app_service_web/router.ex
@@ -17,7 +17,7 @@ defmodule MatrixAppServiceWeb.Router do
path = Application.compile_env(:matrix_app_service, :path, "/")
- scope path, MatrixAppServiceWeb.V1 do
+ scope path, MatrixAppServiceWeb.V1, as: :matrix do
pipe_through :matrix_api
put "/transactions/:txn_id", TransactionController, :push