Merge branch 'master' into dev
This commit is contained in:
@@ -58,7 +58,7 @@ class CreateNewMessage extends Controller
|
|||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
// redirect user to previous form
|
// redirect user to previous form
|
||||||
$response = redirect()->route('page.content', ['url' => $form->url]);
|
$response = redirect()->back();
|
||||||
|
|
||||||
return $status ? $response->with('success', '') : $response->with('error', '');
|
return $status ? $response->with('success', '') : $response->with('error', '');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user