Commit af91c4fa authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent 38dcaabe
......@@ -27,6 +27,7 @@ class MetaTagBehavior extends Behavior
public function eventInit($event)
{
echo $this->actions; die;
if(in_array(Yii::$app->controller->action->id, $this->actions))
{
$langs = Languages::find()->all();
......@@ -42,7 +43,6 @@ class MetaTagBehavior extends Behavior
public function eventFind($event)
{
echo $this->actions; die;
if(in_array(Yii::$app->controller->action->id, $this->actions))
{
$langs = Languages::find()->all();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment