Yii not diagnosis route when first same started

15 views Asked by At

Why my yii 1 route not diagnosis when first same started. I have two same route in first characters and yii not diagnosis second route in route array list :

first route:

array('/shop/order/view', 'pattern' => '/api/v1/orders/<orderId>', 'verb' => 'GET'),

second route:

array('/shop/order/statistics', 'pattern' => '/api/v1/orders/statistics', 'verb' => 'GET'),

This is my two routes but when call second route first route called and not get in statistics function.

Thank you for your help.

my yii framework is yii1. I don't know how to solve this problem.

0

There are 0 answers