Route::group(['middleware' => 'auth', 'namespace' => 'CreateOrEdit\SingleStep'], function ($router) {
Route::get('create', 'CreateController@getForm');
Route::post('create', 'CreateController@postForm');
Route::get('create/finish', 'CreateController@finish');
// Payment Gateway Success & Cancel
Route::get('create/payment/success', 'CreateController@paymentConfirmation');
Route::get('create/payment/cancel', 'CreateController@paymentCancel');
Route::post('create/payment/success', 'CreateController@paymentConfirmation');
// Email Address or Phone Number verification
$router->pattern('field', 'email|phone');
Route::get('verify/post/{id}/resend/email', 'CreateController@reSendVerificationEmail');
Route::get('verify/post/{id}/resend/sms', 'CreateController@reSendVerificationSms');
Route::get('verify/post/{field}/{token?}', 'CreateController@verification');
Route::post('verify/post/{field}/{token?}', 'CreateController@verification');
});