You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RedirectToViewPage.php 203B

1234567891011
  1. <?php
  2. namespace App\Concerns;
  3. trait RedirectToViewPage
  4. {
  5. protected function getRedirectUrl(): string
  6. {
  7. return $this->getResource()::getUrl('view', ['record' => $this->record]);
  8. }
  9. }