Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow cleaner urls #767

Merged
merged 1 commit into from
Dec 10, 2021
Merged

Conversation

ZakarFin
Copy link
Member

@ZakarFin ZakarFin commented Dec 1, 2021

Small change to allow calling action handlers with /action/[route] instead of /action?action_route=[route]. And adding a parallel route for searching with Search in addition to the backwards compatible GetSearchResult.

This allows calling search with https://domain-with-oskari/action/Search?q=finland while still allowing the regular way of calling the same code with https://domain-with-oskari/action?action_route=GetSearchResult&searchKey=finland

@ZakarFin ZakarFin marked this pull request as ready for review December 10, 2021 13:06
@ZakarFin ZakarFin added this to the 2.6.0 milestone Dec 10, 2021
@ZakarFin ZakarFin merged commit 5641cfd into oskariorg:develop Dec 10, 2021
@ZakarFin ZakarFin deleted the route-streamlining branch December 10, 2021 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant