Skip to content

Commit

Permalink
Merge pull request #39 from henriksjodahl/master
Browse files Browse the repository at this point in the history
Make notify route accept any
  • Loading branch information
makasim committed Mar 21, 2016
2 parents 7ba0bc6 + 25b66bf commit 8eee3f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Payum/LaravelPackage/PayumServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ protected function defineRoutes()
'uses' => 'Payum\LaravelPackage\Controller\RefundController@doAction'
));

$route->get('/payment/notify/{payum_token}', array(
$route->any('/payment/notify/{payum_token}', array(
'as' => 'payum_notify_do',
'uses' => 'Payum\LaravelPackage\Controller\NotifyController@doAction'
));

$route->get('/payment/notify/unsafe/{gateway_name}', array(
$route->any('/payment/notify/unsafe/{gateway_name}', array(
'as' => 'payum_notify_do_unsafe',
'uses' => 'Payum\LaravelPackage\Controller\NotifyController@doUnsafeAction'
));
Expand Down

0 comments on commit 8eee3f4

Please sign in to comment.