Skip to content

Commit

Permalink
fix new alert call
Browse files Browse the repository at this point in the history
  • Loading branch information
BFoucher authored and lenybernard committed Oct 24, 2016
1 parent 154dfa6 commit 19e3818
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Helper/AlertifyHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function alert($content, $type = 'success', $options = [])
*/
public function congrat($content, $options = [])
{
$this->alert('success', $content, $options);
$this->alert($content, 'success', $options);
}

/**
Expand All @@ -59,7 +59,7 @@ public function congrat($content, $options = [])
*/
public function warn($content, $options = [])
{
$this->alert('warning', $content, $options);
$this->alert($content, 'warning', $options);
}

/**
Expand All @@ -70,7 +70,7 @@ public function warn($content, $options = [])
*/
public function inform($content, $options = [])
{
$this->alert('info', $content, $options);
$this->alert($content, 'info', $options);
}

/**
Expand All @@ -81,6 +81,6 @@ public function inform($content, $options = [])
*/
public function scold($content, $options = [])
{
$this->alert('error', $content, $options);
$this->alert($content, 'error', $options);
}
}

0 comments on commit 19e3818

Please sign in to comment.