For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add Transit Network Selection to your Routing Script

Applies to: Tmedia 3.0, 3.2, 3.3

To add transit network selection to any routing script, do the following:

1- Click Routing script in the navigation panel.

RoutingScript 0 A

2- Edit your main script

RoutingScript 2 A

3- Add the 5 following lines to the script:

At the top of the page require 'transit_network_selection' Following your main class definition include TransitNetworkSelection Add before filter, route match and after filter in your main class before_filter :method => :transit_network_selection_before_filter

4- Click 'Save'

Example

Last updated

Was this helpful?