aboutsummaryrefslogtreecommitdiff
path: root/lib/waev_web/router.ex
diff options
context:
space:
mode:
authorGuillermo Ramos2020-02-05 14:17:41 +0100
committerGuillermo Ramos2020-02-05 14:17:41 +0100
commita0eec8eadae94a71974868ac8d48820e0662857b (patch)
treef85dad657a8f7bea59fbb96e39a7e506986b8ed5 /lib/waev_web/router.ex
parent01143da6e79f26cfacefa0c17f225ccc88d15186 (diff)
downloadwaev-a0eec8eadae94a71974868ac8d48820e0662857b.tar.gz
Download attachments
Diffstat (limited to 'lib/waev_web/router.ex')
-rw-r--r--lib/waev_web/router.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/waev_web/router.ex b/lib/waev_web/router.ex
index edd2c69..54667a8 100644
--- a/lib/waev_web/router.ex
+++ b/lib/waev_web/router.ex
@@ -19,6 +19,7 @@ defmodule WaevWeb.Router do
get "/", PageController, :index
# index,edit,new,show,create,update
resources "/exports", ExportsController, only: [:show]
+ get "/exports/:id/attachments/:at_id", ExportsController, :get_attachment
end
# Other scopes may use custom stacks.