From c8e64bf3e990446b6cb777b8b29fcc3570a64cf9 Mon Sep 17 00:00:00 2001 From: Artem Ignatev Date: Sat, 14 Jan 2023 17:53:03 +0100 Subject: [PATCH] Add sample of searchParams to README.md --- README.md | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 35845fe..8b6b56d 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,9 @@ routes.users.url(); // '/users' routes.users.statistic.url(); // '/users/statistic' routes.users.statistic.relativeUrl(); // 'statistic' +routes.users.statistic.url({ view: 'print', filter: 'no' }); // '/users/statistic?view=print&filter=no' +routes.users.statistic.url('/*'); // '/users/statistic/*' + routes.user.userId().relativeUrl(); // ':userId' routes.user.userId('18').private_info.url(); // '/user/18/private-info' ``` diff --git a/package.json b/package.json index f172f6f..ee4e978 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nice-web-routes", - "version": "1.0.2", + "version": "1.0.3", "description": "Easy way to create nice web routes for you application", "contributors": [ "Artem Ignatev "