I'm not sure why it ever worked on my dev box, but I found the problem. Of course, it was behaving exactly as it should :)
With that routing pattern, the following would occur: # user requests http://mysite.com/coupon/1234 # reroute to http://mysite.com/coupon/Redeem.html?couponID=1234 # then THAT would reroute to http://mysite.com/coupon/Redeem. I fixed this up by renaming my controller to something other than "coupon". Thanks for all the troubleshooting suggestions. On Jul 20, 10:48 am, James Curran <[email protected]> wrote: > On Sun, Jul 19, 2009 at 6:15 PM, JakeS<[email protected]> wrote: > > The global.asax has the following defined: > > > RoutingModuleEx.Engine.Add( > > new PatternRoute("/coupon/<couponCode>") > > .DefaultForController().Is("coupon") > > .DefaultForAction().Is("Redeem")); > > This sounds a bit like a problem I had a few months ago. The full > thread on that is here > (http://groups.google.com/group/castle-project-users/browse_thread/thr...), > but the quick thing to try is change the line to: > > new PatternRoute("/coupon/[couponCode]") > > -- > Truth, > James --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
