Advertisement
Guest User

Untitled

a guest
May 27th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. 'url.rules' => array(
  2. /* for REST please @see http://www.yiiframework.com/wiki/175/how-to-create-a-rest-api/ */
  3. /* other @see http://www.yiiframework.com/doc/guide/1.1/en/topics.url */
  4.  
  5. 'page/upload' => 'testimonialPage/upload',
  6.  
  7. // matching /page_name
  8. // matching /page_name/videos
  9.  
  10. //'<controller:\w+>/<action:\w+>/<id:\d+>/<page:\d+>'=>'<controller>/<action>',
  11.  
  12.  
  13. array(
  14. 'class' => 'application.components.TestimonialPageRule',
  15. 'connectionID' => 'db',
  16. ),
  17. 'page/videos/<id:\d+>/<page:\d+>'=>'page/videos',
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement