| 1 | package Smolder::Dispatch; | ||
| 2 | use base 'CGI::Application::Dispatch'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | sub dispatch_args { | ||
| 7 | return { | ||
| 8 | prefix => 'Smolder::Control', | ||
| 9 | table => [ | ||
| 10 | '' => {app => 'Public'}, | ||
| 11 | 'projects/tap_stream/:id/:stream_index' => { | ||
| 12 | app => 'Projects', | ||
| 13 | rm => 'tap_stream', | ||
| 14 | }, | ||
| 15 | 'projects/test_file_history/:id/:test_file_id' => { | ||
| 16 | app => 'Projects', | ||
| 17 | rm => 'test_file_history', | ||
| 18 | }, | ||
| 19 | ':app/:rm?/:id?/:type?' => {}, | ||
| 20 | ], | ||
| 21 | }; | ||
| 22 | } | ||
| 23 | |||
| 24 | 1; | ||
| 25 | |||
| 26 | __END__ |