machour / yii2-notifications

A complete notifications module for your Yii 2 powered application
MIT License
90 stars 48 forks source link

Wrong model in Configuration.md #45

Closed kakadanhem closed 7 years ago

kakadanhem commented 7 years ago

In the module config use below model: 'notificationClass' => 'app\models\Notification',

But in declaration, user below namespace: namespace backend\components;

So it either change namespace backend\components; to namespace app\models; or change 'notificationClass' => 'app\models\Notification', to 'notificationClass' => 'backend\components\Notification',

drsdre commented 7 years ago

Hi kakadanhem. Thank you for suggestion. The example config and Notification.php class have been updated to be consistent using the single Yii2 application namespace.

Andre