[coldbox:18752] addRoute()

Yes, I know. I think that perhaps it may have been an errant suggestion which is why I hate to see you spend a great deal of time looking into it until he clarifies how to use it :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Appreciate it. It only took me 10 minutes to realize that it wasn’t working to my expectations or how he was suggesting it would work, but I wanted to quickly show how I have it implemented and what ColdBox is doing with it and show what it wasn’t doing with it. I’ve since crudely hacked something in place elsewhere to make what I want work and I’ve put a suggestion / feature into JIRA to implement what I’m looking for. That’s all I can do for now. I will admit to being surprised at being the first one to need this or suggest it which makes me question whether I’m using ColdBox/Designing APIs correctly, but even at my RL work, I see the need for this feature request.

Todd, I am almost certain that your problem is identical to the problem I faced. Which I posted in here a week ago, so technically your not the first… I have been asking ever since I discovered the problem too.

Glad I’m not alone. :slight_smile:

The thing though Todd, is that I doubt it will get added.

The better way would be to create a separate module as a package instead, might seem like a lot of extra work but it separates everything, and promotes scalability of the application.