diff options
author | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-10-19 18:04:56 +0000 |
---|---|---|
committer | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-10-19 18:04:56 +0000 |
commit | 4c0fb5e1c89eb7d83eb46ce992bbb8b7b5b80130 (patch) | |
tree | 584a3f3100dc76bb9f7a58e4330d5a866c784d68 /lib/matrix_app_service_web/router.ex | |
parent | Merge branch 'test-ci' into 'master' (diff) | |
parent | test: add tests for controllers (diff) |
Merge branch 'controller_tests' into 'master'
test: add tests for controllers (closes #4)
Closes #4
See merge request kazarma/matrix_app_service.ex!8
Diffstat (limited to 'lib/matrix_app_service_web/router.ex')
-rw-r--r-- | lib/matrix_app_service_web/router.ex | 2 |
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 |