help desk admin
This commit is contained in:
parent
8810e75140
commit
46ce138b95
|
|
@ -50,7 +50,7 @@ class HelpTicketCrudController extends CrudController
|
|||
$this->crud->denyAccess('create');
|
||||
$this->crud->denyAccess('update');
|
||||
$this->crud->allowAccess('show');
|
||||
$this->crud->addButton('line', 'replay', 'view', '', 'beginning');
|
||||
$this->crud->addButtonFromView('line', 'replay', 'replay', 'beginning');
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -71,4 +71,8 @@ class HelpTicketCrudController extends CrudController
|
|||
// use $this->data['entry'] or $this->crud->entry
|
||||
return $redirect_location;
|
||||
}
|
||||
|
||||
public function replay($id){
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
<a href="{{ Request::url().'/'.$entry->getKey() }}/replay" class="btn btn-xs btn-default"><i class="fa fa-reply"></i> Replay</a>
|
||||
|
|
@ -24,4 +24,5 @@ Route::group([
|
|||
CRUD::resource('account', 'AccountCrudController');
|
||||
CRUD::resource('helpTopic','HelpTopicCrudController');
|
||||
CRUD::resource('helpTicket','HelpTicketCrudController');
|
||||
Route::get('helpTopic/{id}/replay', 'HelpTopicCrudController@replay');
|
||||
}); // this should be the absolute last line of this file
|
||||
|
|
|
|||
Loading…
Reference in New Issue