Skip to content

Commit

Permalink
Merge pull request #9 from beautiful-sea/patch-1
Browse files Browse the repository at this point in the history
Fix:'Constant PAGSEGURO_CONTROLER already defined'
  • Loading branch information
cagartner authored Jun 29, 2020
2 parents 619a407 + 1f24061 commit 25a83fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Http/routes.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

const PAGSEGURO_CONTROLER = 'Cagartner\Pagseguro\Http\Controllers\PagseguroController@';
if ( ! defined( 'PAGSEGURO_CONTROLER')) {
define('PAGSEGURO_CONTROLER', 'Cagartner\Pagseguro\Http\Controllers\PagseguroController@');
}

Route::group(['middleware' => ['web']], function () {
Route::prefix('pagseguro')->group(function () {
Expand Down

0 comments on commit 25a83fc

Please sign in to comment.