Displaying 1 result from an estimated 1 matches for "targetcontroller".
Did you mean:
target_controller
2007 Mar 31
1
Subdomains, Routing, and Subdirectory Controllers
...d0fdfded31650
----
I would like to set up a subdomain and, using the request_routing
plugin, have requests to that subdomain call corresponding "sub-
controllers" inside a controller module. That way, urls like:
http://sub.example.com/target/myaction
could be routed to call:
Grouped::TargetController#myaction (located in /app/controllers/
grouped/target_controller.rb)
I realize one solution would be to use "Option #2" in the referenced
post above and create an action dedicated to parsing the url and
redirecting to the appropriate controller/action. However, I was
wondering if a si...