[Nitro] "magic" mapping of controllers possible?

Dimitri Aivaliotis aglarond at gmail.com
Fri Jun 23 03:45:37 EDT 2006


On 6/23/06, Michael Fellinger <manveru at weez-int.com> wrote:
>
> Sifting a bit through my codebase showed me a possible problem:
>
> '/xmlrpc' => XmlRpcController
>
> any ideas?
>

Well, if you're ok with changing the path...

require 'facets/core/string/camelcase'
"xml-rpc".camelcase(true, '-')

- Dimitri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20060623/a7c8c640/attachment.html 


More information about the Nitro-general mailing list