Fix pagination url

This commit is contained in:
maranqz
2019-07-21 22:42:39 +03:00
committed by Manish Verma
parent fd3e47b96d
commit f86fd70fc2
2 changed files with 2 additions and 2 deletions

View File

@@ -439,7 +439,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
?>
<div class="float-right" style="margin-top:-30px;margin-bottom:-30px">
<?php echo $conversations->setPath(url('check_ticket/{' . $id . '}'))->render(); ?>
<?php echo $conversations->setPath(route('check_ticket', ['id' => $id]))->render(); ?>
</div>
<br/><br/>
</div>

View File

@@ -335,7 +335,7 @@ foreach ($conversations as $conversation) {
<?php }
?>
<div class="pull-right" style="margin-top:-30px;margin-bottom:-30px">
<?php echo $conversations->setPath(url('show-ticket/{' . $tickets->id . '}/' . $token))->render(); ?>
<?php echo $conversations->setPath(route('show.ticket', ['id' => $tickets->id, 'token' => $token]))->render(); ?>
</div>
<br/><br/>
@if(Session::has('success1'))