Support the ongoing development of Laravel.io →
Configuration
Last updated 2 years ago.
0

You pass an array of arguments so try this instead:

return Redirect::route('wesell-congratulations', [$this->property->id]);
0

your function maybe should named:

public function getWeSellConGrats($id){}
0

Hi

thomastkim I tried that and it didn't work. surpass I don't think the name of the function is prevalent.

Any other ideas?

0

Okay, I have solved my problem, but I am still bemused as to why my previous example did not work so if anyone could shed some light I would be most appreciative.

This is what I did

#Route

Route::get('/wesell-congratulations', ['as' => 'wesell-congratulations', 'uses' => 'WeSellPagesController@WeSellConGrats']);

#PropertyController

return Redirect::route('wesell-congratulations', ['id' => $this->property->id]);

#WeSellPagesController

public function WeSellConGrats()
{
$id = Input::get('id');

return View::make('wesell.congratulations', ['property_id' => $id]);
}
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ErichNiem erichniem Joined 30 Jul 2015

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.

© 2024 Laravel.io - All rights reserved.