diff options
author | Guillermo Ramos | 2020-02-06 20:27:35 +0100 |
---|---|---|
committer | Guillermo Ramos | 2020-02-06 20:27:35 +0100 |
commit | aa0213ad46ca0dcb3e64e14cee2676d8fdc60110 (patch) | |
tree | 56fbe69a03466e7bc4f28235a264a55c92ade7eb /lib/waev_web/router.ex | |
parent | 5d091db1c1e0d3f237231bbd90d00b24ce273841 (diff) | |
download | waev-aa0213ad46ca0dcb3e64e14cee2676d8fdc60110.tar.gz |
/attachments -> /media
Diffstat (limited to 'lib/waev_web/router.ex')
-rw-r--r-- | lib/waev_web/router.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/waev_web/router.ex b/lib/waev_web/router.ex index 54667a8..1e9ed0f 100644 --- a/lib/waev_web/router.ex +++ b/lib/waev_web/router.ex @@ -19,7 +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 + get "/exports/:id/media/:at_id", ExportsController, :get_media end # Other scopes may use custom stacks. |