diff --git a/lib/haj_web/live/applications_live/index.html.heex b/lib/haj_web/live/applications_live/index.html.heex index 1c409e3..9bc2c7a 100644 --- a/lib/haj_web/live/applications_live/index.html.heex +++ b/lib/haj_web/live/applications_live/index.html.heex @@ -36,7 +36,7 @@ /> <.link - href={~p"/applications/export"} + href={~p"/applications/export/csv"} class="mt-1 flex flex-row items-center rounded-md border border-gray-300 bg-white px-3 py-2 shadow-sm hover:bg-gray-50" > <.icon name={:arrow_down_on_square_stack} mini class="h-5 w-5" /> diff --git a/lib/haj_web/router.ex b/lib/haj_web/router.ex index b5c0c88..d7f392f 100644 --- a/lib/haj_web/router.ex +++ b/lib/haj_web/router.ex @@ -181,7 +181,7 @@ defmodule HajWeb.Router do pipe_through :require_applications_read # get "/applications", ApplicationController, :index - get "/applications/export", ApplicationController, :export + get "/applications/export/csv", ApplicationController, :export end end diff --git a/lib/haj_web/templates/application/index.html.heex b/lib/haj_web/templates/application/index.html.heex deleted file mode 100644 index 9e6f222..0000000 --- a/lib/haj_web/templates/application/index.html.heex +++ /dev/null @@ -1,11 +0,0 @@ -