We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7547cc commit 9ab54c8Copy full SHA for 9ab54c8
src/Button.php
@@ -273,6 +273,19 @@ public function route($name, $params)
273
return $this;
274
}
275
276
+ /**
277
+ * Add params to route
278
+ *
279
+ * @param array $params
280
+ * @return $this
281
+ */
282
+ public function withParams(array $params)
283
+ {
284
+ $this->route['query'] = array_merge($this->route['query'], $params);
285
+
286
+ return $this;
287
+ }
288
289
/**
290
* Add filters to index view.
291
*
0 commit comments