Displaying 1 result from an estimated 1 matches for "weather_control".
2006 Jan 03
2
Odd Routing - How To?
...problem for Rails routing.
We have several controllers that handle regional data (one controller
per data type - weather, demographics, etc). The problem is that there
is one region who''s actions and output are different.
We intend to create two controllers for each data type (i.e.
weather_controller to handle requests for all regions but the one and
regionx_weather_controller with its own special methods, data, and
templates).
So, with that in mind, the requirement is to have the url of the form:
:region/:controller/:action
That''s great for the main regions but this bastard re...