Skip to content

Commit

Permalink
fix: fix route handling for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Feb 11, 2023
1 parent b6b8e1a commit b00d56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ash_hq_web/pages/docs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ defmodule AshHqWeb.Pages.Docs do
extension =
Enum.find(socket.assigns.library_version.extensions, fn extension ->
extension.sanitized_name == socket.assigns[:params]["extension"] ||
AshHqWeb.DocRoutes.sanitize_name(extension.target) ==
AshHqWeb.DocRoutes.sanitize_name(extension.module) ==
socket.assigns[:params]["extension"]
end)

Expand Down

0 comments on commit b00d56b

Please sign in to comment.