12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- return [
- "/" => "site/index",
- "news" => "news/index",
- "news/clike" => "news/clike",
- "articles?/?"=> "articles/index",
- "podcasts"=> "podcasts/index",
- "video"=> "video/index",
- "talk"=> "video/index",
- "search" => "search/index",
- "/inquirer/"=>"inquirer/index",
- "/inquirer"=>"inquirer/index",
- "<action>"=> "site/<action>",
- "/news/infinity-newsfeed"=>"news/infinity-newsfeed",
- "/news/<id:\d+>/?"=>"news/view",
- "/voprosdnya/<id:\d+>/?"=>"news/view",
- "/news/preview/<uid:[a-z0-9\-]+>"=>"news/uid-view",
- "/news/<storyslug:[a-z0-9\-]+>-<id:(\d+)$>"=>"news/view",
- 'news/<topic:[a-zA-Z0-9\-_]+>'=>"news/index",
- "/<storyslug:[a-z0-9\-]+><id:\d+>"=>"news/view",
- "/amp/news/<id:\d+>/?"=>"amp/news",
- "/podcasts/<topic:[a-z0-9\-_]+>"=>"podcasts/topic",
- "/podcasts/<topic:[a-z0-9\-_]+>/<storyslug:[a-z0-9\-_]+>"=>"news/storyslug-view",
- "/podcasts/<id:\d+>/?"=>"news/view",
- "/video/<topic:[a-z0-9\-_]+>"=>"video/topic",
- "/video/<topic:[a-z0-9\-_]+>/<storyslug:[a-z0-9\-_]+>"=>"news/storyslug-view",
- "/video/<id:\d+>/?"=>"news/view",
- "/news/<rubric>/<storyslug:[a-z0-9\-]+><id:\d{6,}>"=>"news/view",
- //Далее поддержа урлов по слагу
- "/news/<storyslug:[a-z0-9\-]+>"=>"news/storyslug-view",
- "/news/<rubric>/<storyslug:[a-z0-9\-]+>/?"=>"news/storyslug-view",
- "/story/search"=>"news/ssearch",
- "/story/<topic:[[a-zA-Z0-9\-_]+>"=>"news/story",
- "/story/<topic:[[a-zA-Z0-9\-_]+>/?"=>"news/story",
- "/tags/search"=>"tags/search",
- "/tags/<topic:[[a-zA-Z0-9\-_]+>"=>"tags/topic",
- "/person/Ajaxlist"=>"manager/person/ajaxlist",
- "/person/<person:[[a-zA-Z0-9\-_]+>"=>"person/person",
- "/author/<author:[[a-zA-Z0-9\-_]+>"=>"author/view",
- "/inquirer/<id:[0-9]+>"=>"inquirer/view",
- "/polls/widget/<id:[0-9]+>/?"=>"inquirer/widget",
- "inquirer"=>"inquirer/viewold",
- "/interview/?"=>"video/index",
- ];
|