[Solar-talk] Re: [Solar-svn] Revision 3037 (a.k.a page black-list)
Jeff Surgeson
solar at 3hex.com
Mon Mar 24 14:46:41 CDT 2008
> Where this behavior does make sense is if you have a default controller
> where you use params. Let's say you have a default controller which accepts
> a param which is used to lookup some file off of disk, it retrieves that
> text and populates the view with the content.
>
> Now you can have urls like www.mysite.com/param1 instead of
> www.mysite.com/default/action/param1
Ah yes ok!
> For me, my workaround is to call func_num_arguments() in my default
> controller. If it is greater than zero, I forward it to my page
> controller's _notFound method. It's not ideal, but I haven't found any
> better alternatives.
Cheers Leo :-)
--
...........::::::...........
Jeff Surgeson / South Africa
More information about the Solar-talk
mailing list