Skip to content

Commit

Permalink
Fix:'Constant PAGSEGURO_CONTROLER already defined'
Browse files Browse the repository at this point in the history
  • Loading branch information
beautiful-sea authored Jun 29, 2020
1 parent 619a407 commit 1f24061
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 1f24061

Please sign in to comment.