Support the ongoing development of Laravel.io →
Views Blade Forms

Hi,

I have a condition check to perform, whether the particular logged in user has values, if there are values then redirect to a url with the values.

public function checkCondition() $values = self::getValues($id); if ($values) { return Redirect::to('user/update')->with('values', $values); }

In routes I've

Route::get('user/update', 'Login\LoginController@navigateUpdateProfile');

again in loginControler I've this function.

public static function navigateUpdateProfile() { return \View::make('user.update'); }

I'm not getting the values. I'm I missing any logic in this case. I'm totally confused.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.