0

このエラーが発生し続けます:

Unable to find a route to match the URI: notifications/send

アクション送信通知にアクセスしようとすると、通知にアクセスしようとすると正常に動作します..

これは私のコードです:

Route::set(
    'notifications', 
    'notifications(<action>)',
    array(
        'action' => 'index|send'
    )
)
->defaults(
    array(
        'controller' => 'notifications', 
        'action' => 'index'
    )
);
4

1 に答える 1

1

がありません/

notifications(<action>)する必要がありますnotifications(/<action>)

于 2012-12-26T11:18:52.703 に答える