I am developing a laravel web application of business directory.
here is my scenario.
-
http://localhost/genie-works/devojp/customer // user searching with keyword of business and
-
Showing results in http://localhost/genie-works/devojp/customer/search-result?keyword=apple&searchcity=1 this page.
-
here listing too many business data with post an enquiry feature.
-
when clicking on the post an enquiry button page goes to http://localhost/genie-works/devojp/customer/post-enquiry/{bisinjessid}/
-
the post enquiry page checking a middle-ware as authentication.
-
when user not logged in the middleware redirect to login page http://localhost/genie-works/devojp/customer and showing the login form
-
after entering login details its needs to redirect to http://localhost/genie-works/devojp/customer/post-enquiry/{bisinjessid}/ this page.
-
but i tried the function Redirect::back its redirecting to customers page (http://localhost/genie-works/devojp/customer)
How can i solve this issue by redirecting to my last page....
Thanks
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1XB90Zi
via IFTTT
Aucun commentaire:
Enregistrer un commentaire