From: Chris W. <ch...@cw...> - 2005-06-28 15:03:40
|
On May 26, 2005, at 9:51 AM, Antti V=E4h=E4kotam=E4ki wrote: > Oh. I just noticed that there was a url_none which can be used to =20 > prevent action from being executed directly by a request. No need =20 > for a none-controller then :) Yeah. > But I'm still not sure about the error on lookup failure.. It's tricky: throwing an exception when you cannot find an action =20 makes for nice execution flow -- you can just catch the exception at =20 a higher level, and if you're writing code where you're actively =20 looking for an action it's pretty easy to just catch the exception. However, I agree that looking up an action might not be the best =20 place for an exception (conceptually speaking). We'd have to do quite =20= a bit of retrofitting to make this happen... I dunno, has this =20 bothered anyone else? Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |