Since you are using the "before" filter for that set of routes you could use
URL::to(Auth::user()->id.'/somepage/create');
You could also use named routes and do
URL::route("name_of_your_route")->with(array('user_id' => Auth::user()->id));
Which ever you prefer my point is that you could get the current user's id through
Auth::user()->attribute;
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community