Skip to content

Commit

Permalink
Renamed PanelTopCar to CartTeaser widget
Browse files Browse the repository at this point in the history
  • Loading branch information
tafid committed Sep 27, 2016
1 parent d5bce1e commit bd6130d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/views/cart/topcart.php
@@ -1,6 +1,6 @@
<?php

use hiqdev\yii2\cart\widgets\PanelTopCart;
use hiqdev\yii2\cart\widgets\CartTeaser;

?>
<?= PanelTopCart::widget() ?>
<?= CartTeaser::widget() ?>
4 changes: 2 additions & 2 deletions src/widgets/PanelTopCart.php → src/widgets/CartTeaser.php
Expand Up @@ -13,11 +13,11 @@

use hiqdev\yii2\cart\Module;

class PanelTopCart extends \yii\base\Widget
class CartTeaser extends \yii\base\Widget
{
public function run()
{
return $this->render('PanelTopCart_view', [
return $this->render('CartTeaser', [
'widget' => $this,
'view' => $this->getView(),
'cart' => $this->getModule()->getCart(),
Expand Down
File renamed without changes.

0 comments on commit bd6130d

Please sign in to comment.