Skip to content

Commit 958c8c0

Browse files
authored
updated the route
1 parent 2ddaf7d commit 958c8c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ Route::post('/pay', [
126126
]);
127127

128128
Route::get('/payment/callback', 'PaymentController@handleGatewayCallback');
129+
130+
OR
131+
132+
Route::get('payment/callback', [
133+
'uses' => 'PaymentController@handleGatewayCallback'
134+
]); //Laravel 5.0
129135
```
130136

131137
```php

0 commit comments

Comments
 (0)