Skip to content

Commit

Permalink
fix: route name overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansalamon committed Oct 3, 2023
1 parent a9418a6 commit 6979604
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lib/haj_web/live/applications_live/index.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down
2 changes: 1 addition & 1 deletion lib/haj_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
11 changes: 0 additions & 11 deletions lib/haj_web/templates/application/index.html.heex

This file was deleted.

0 comments on commit 6979604

Please sign in to comment.