laravel-datatables icon indicating copy to clipboard operation
laravel-datatables copied to clipboard

getting with parameters in laravel balde

Open salmansafdar778 opened this issue 3 years ago • 1 comments

how we can get with params in laravel blade ???? any example I'm not using dataTable class.

salmansafdar778 avatar Dec 01 '21 06:12 salmansafdar778

You mean pass a variable to the view from controller?

// controller
public function index(MyDT $dt, Model $model)
{
  $dt->render('dt.index', compact('model'));
}

// view dt/index.blade.php
{{ $model->id }}

yajra avatar Feb 01 '22 04:02 yajra

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Oct 21 '22 00:10 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Oct 29 '22 00:10 github-actions[bot]