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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community