Skip to content

Commit

Permalink
Allow public access to Button::route
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-stancu committed Aug 9, 2022
1 parent 6c86095 commit d0a5469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ public function link(string $href, string $target = '_blank'): self
* @param array $params
* @return $this
*/
protected function route(string $name, array $params = []): self
public function route(string $name, array $params = []): self
{
$this->type = 'route';
$this->route = [
Expand Down

0 comments on commit d0a5469

Please sign in to comment.