Topic: Routing oddity
I've got something weird happening with my rails app.
Locally (using webrick) my routes work fine. I have a controller named "Content" and I can happily type the following url : http://localhost:3000/content/view/12
Now, when I deploy the same app to my web host, I get a routing error. I fixed the problem by removing the very first line in ContentController.rb, which happened to be :
(and of course any further reference to the redcloth API)
So what's happening ? Why is the require statement messing things up ? Why aren't both applications behaving the same way ?
Thanks in advance for your answers.