mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
a3c71b8ba8
no issue - added a `transitionTo` after deleting a custom view that transitions to the `posts` route with default query params - refactored `reset-posts-query` helper to a more generic `reset-query-params` helper - moved default query params definitions to this helper and expose them so we have a single source of truth - exposed `resetQueryParams()` function from the helper for use outside of templates - adjust the function and helper behaviour to accept the route name as the first param so that `router.currentRouteName` can be used as a generic reset |
||
---|---|---|
.. | ||
admin |