$this->redirect('@homepage'); On Fri, Oct 22, 2010 at 5:26 PM, Tristan <tristan.bessou...@gmail.com>wrote:
> I don't want to customize the 404 page, it's already done, > I just want to redirect the user to the homepage instead of a 404 page > when he tries to access a job which is outdated. > > Thanks :) > > On 22 oct, 15:32, Thomas Ohms <thomas.o...@googlemail.com> wrote: > > Try the terms "symfony 404 customizing" in Google and you get many ways > ;) > > > > Am Freitag 22 Oktober 2010, um 13:40:15 schrieb Tristan: > > > > > In the jobeet tutorial, you can access jobs only if they are valid > > > (<30 days) thanks to : > > > > > method_for_query: retrieveActiveJob > > > > > The problem is that it fowards to a 404 page. > > > > > How to redirect the user to the HOMEPAGE instead of displaying a 404 > > > page if the user try to access an outdated job ? > > > > > Thanks > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en