Skip to content

Commit

Permalink
Fixed using url with query parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
girardinsamuel authored Mar 23, 2022
1 parent 3ba8320 commit 917bbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masonite/inertia/core/Inertia.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def get_page_data(self, component, props):
page_data = {
"component": self.get_component(component),
"props": props,
"url": request.get_path(),
"url": request.get_path_with_query(),
"version": self.get_version(),
}
if self.options.get("include_routes"):
Expand Down

0 comments on commit 917bbbe

Please sign in to comment.