Skip to content

Commit

Permalink
Fix Url helper usage
Browse files Browse the repository at this point in the history
There is no easyii URL helper class, so I changed it to the default Yii2 one. Works as expected now, was throwing error before.
  • Loading branch information
vnenkpet committed May 21, 2015
1 parent b4e051d commit 7dc64c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/text/api/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use Yii;
use yii\easyii\helpers\Data;
use yii\easyii\helpers\Url;
use yii\helpers\Url;
use yii\easyii\modules\text\models\Text as TextModel;

class Text extends \yii\easyii\components\API
Expand Down Expand Up @@ -66,4 +66,4 @@ private function notFound($id_slug)
return $this->errorText('WRONG TEXT IDENTIFIER');
}
}
}
}

0 comments on commit 7dc64c3

Please sign in to comment.