Adarsh's avatar

How do i redirect from one view() to another view():

How do i redirect from one view() to another view():

reply:asap. thanks in advance

0 likes
9 replies
mandravinus's avatar

you mean from within your controller, or from within your view? probably it's the same after all -use redirectTo() function- , but just asking...

Adarsh's avatar

within the view........

From registration form to login form....

I searched in google but i did't get any appropriate answer.

mehany's avatar
<a href="/login" target="_blank"> Redirect to log in </a>  :)
1 like
jekinney's avatar

There are the normal way as @mehany mentioned and of course Laravel has some helpers too. Search for url helper, named routes in the Laravel docs.

Adarsh's avatar

Thank you @mehany @jekinney

How to make user as a authenticate user or not in login , after registration. I had user name and email in my database....

Adarsh's avatar

Thank you for advice...but i need solution for above problem... thanq in advance..

d3xt3r's avatar

At this forum, as far as i can tell, solutions will (should) only be provided, if you have tried yourself and failed/stuck. No one will be willing to do your job for you.

Having said that, show us what you have already tried, we will be willing to improve it.

1 like

Please or to participate in this conversation.