Skip to content

Commit

Permalink
fixed "Open site" button in control panel - / is not a route
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaupo Juhkam committed May 26, 2016
1 parent 9a58b23 commit 9945dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/layouts/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
EasyiiCMS
</div>
<div class="nav">
<a href="<?= Url::to(['/']) ?>" class="pull-left"><i class="glyphicon glyphicon-home"></i> <?= Yii::t('easyii', 'Open site') ?></a>
<a href="<?= Yii::$app->homeUrl ?>" class="pull-left"><i class="glyphicon glyphicon-home"></i> <?= Yii::t('easyii', 'Open site') ?></a>
<a href="<?= Url::to(['/admin/sign/out']) ?>" class="pull-right"><i class="glyphicon glyphicon-log-out"></i> <?= Yii::t('easyii', 'Logout') ?></a>
</div>
</div>
Expand Down

0 comments on commit 9945dd7

Please sign in to comment.