Skip to content

Commit 36129be

Browse files
committed
- changed setting of button route to $button->route = $route; because route is computed in line 54 already (and differs if we have a full route or a suffix)
1 parent 19c134d commit 36129be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Classes/Template/Builders/Buttons.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private function computeRoute($button, $type)
6363
return true;
6464
}
6565

66-
$button->route = $this->template->routePrefix.'.'.$button->routeSuffix;
66+
$button->route = $route;
6767

6868
return true;
6969
}

0 commit comments

Comments
 (0)