Travel Guide Frontend Backend

This commit is contained in:
Kevin Adametz 2020-08-07 16:00:55 +02:00
parent e6cc042aee
commit 0857a34766
681 changed files with 6680 additions and 1689 deletions

View file

@ -20,11 +20,7 @@ class CMSFeedbackController extends Controller
{
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$data = [
@ -36,7 +32,7 @@ class CMSFeedbackController extends Controller
public function detail($id)
{
if($id == "new") {
if($id === "new") {
$feedback = new Feedback();
$id = 'new';
$feedback->status = 1;
@ -57,7 +53,7 @@ class CMSFeedbackController extends Controller
public function store($id)
{
$data = Request::all();
if($id == "new") {
if($id === "new") {
if(!isset($data['feedback_parent']) && !$data['feedback_parent']) {
abort(404);