Update v1.0.6.1

This commit is contained in:
sujitprasad
2016-02-17 20:23:59 +05:30
parent 3569d6ac48
commit 69f07859aa
16 changed files with 349 additions and 113 deletions

View File

@@ -32,8 +32,6 @@ $router->get('getmail/{token}', 'Auth\AuthController@getMail');
// Route::get('/system-config',['as'=>'database-config','uses'=>'Api\v1\InstallerApiController@config_system']);
// });
/*
|-------------------------------------------------------------------------------
| Admin Routes
@@ -175,6 +173,7 @@ Route::group(['middleware' => 'roles', 'middleware' => 'auth'], function () {
//Routes for language file upload form-----------You may want to use csrf protection for these route--------------
Route::post('language/add', 'Admin\helpdesk\LanguageController@postForm');
Route::get('language/add', array('as' => 'add-language', 'uses' => 'Admin\helpdesk\LanguageController@getForm'));
//Routes for delete language package
@@ -340,9 +339,11 @@ Route::group(['middleware' => 'role.agent', 'middleware' => 'auth'], function ()
Route::post('rating/{id}/{rating}', ['as' => 'ticket.rating', 'uses' => 'Agent\helpdesk\TicketController@rating']); /* Get overall Ratings */
Route::post('rating2/{id}/{rating}', ['as' => 'ticket.rating2', 'uses' => 'Agent\helpdesk\TicketController@ratingReply']); /* Get reply Ratings */
// To check and lock tickets
Route::get('check/lock/{id}', ['as' => 'lock', 'uses' => 'Agent\helpdesk\TicketController@checkLock']);
Route::patch('/change-owner/{id}', ['as' => 'change.owner.ticket', 'uses' => 'Agent\helpdesk\TicketController@changeOwner']); /* change owner */
});
/*
@@ -697,4 +698,4 @@ Route::group(['prefix' => 'api/v1'], function() {
Route::get('generate/token', 'Api\v1\TestController@generateToken');
Route::get('get/user', 'Api\v1\TestController@getAuthUser');
});
});