#587 [sahibinden-module] Getting custom fields dynamically

This commit is contained in:
Diatrex 2019-12-25 14:19:12 +03:00
parent e647124f0f
commit 7827806f71
2 changed files with 0 additions and 10 deletions

View File

@ -208,10 +208,6 @@ class AdvsModuleServiceProvider extends AddonServiceProvider
'uses' => 'Visiosoft\AdvsModule\Http\Controller\AjaxController@getMyAds'
],
'ajax/loanApplication' => [
'as' => 'ajax::loanApplication',
'uses' => 'Visiosoft\AdvsModule\Http\Controller\AjaxController@sendLoanApplication'
],
];
/**

View File

@ -92,10 +92,4 @@ class AjaxController extends PublicController
return response()->json(['success' => true, 'content' => $my_advs, 'title' => $page_title]);
}
public function sendLoanApplication(Request $request)
{
$this->userModel->find(1)->notify(new SendLoanApplicationMail($request));
return response()->json(['success' => true, 'content' => $request['firstName']]);
}
}