Laravel Datatables, Controller Method in Form

Laravel Datatables, Controller Method in Form

muratguvenmuratguven Posts: 2Questions: 2Answers: 0

Hi, im using yajrabox laravel datatables.

return Datatables::of($pages)
      ->add_column('edit', '{!! Form::open([\'method\' => \'delete\', \'route\' => \'admin.pages.delete\', \'data-ajaxify\']) !!}
        <input type="hidden" value="{{ $id }}" name="pageDelete">
        <button type="submit" class="btn btn-border btn-primary btn-xs"><i class="icon-list-alt"></i>Sil</button>
        {!! Form::close() !!}')
     ->make(true);

This form and data-ajaxify are not working. What is wrong this code ? working normal coniditions but when i pull with json data its just doesnt work, how can i fix it ? thanks for help.

This discussion has been closed.