Displaying 1 result from an estimated 1 matches for "1&controller".
Did you mean:
3d&controller
2004 Dec 13
4
Dispatcher? how to use long urls with slashes to call a controller
Hello rails,
I have a controller called file with a method get that returns me a
file from the db.
want to do the following:
When calling http://localhost:8080/file/get/11/hansi.txt i want that
rails does the same as if i would call
http://localhost:8080/file/get/11
This i not the case. I get a 404.
This is useful as this makes the filename in the browser downloading
the file be hansi.txt
I use mod_ruby - an as far as i could see dispatcher.cgi ist...