mardi 1 décembre 2015

How to return view with hashtag in Laravel 5

After saving user, I want to return to the same tab in the page with success message. How do I add hashtag in the view path or route path in laravel

if($user->save()){
            $success = "User Registered";
            return View::make('user')->with('success', $success);

When I try this, it gives me an error :-

return View::make('user#adduser')->with('success', $success);

View [user#adduser] not found

Thanks



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1NFtVcz
via IFTTT

Aucun commentaire:

Enregistrer un commentaire