From 23fbc830bde770611d09c3b1a13628aea26bb282 Mon Sep 17 00:00:00 2001 From: Claudio Dekker Date: Sun, 4 Nov 2018 12:03:44 +0100 Subject: [PATCH] Remove a trailing semicolon in alert.blade.php (#11) * Remove trailing semicolon * Update changelog --- CHANGELOG.md | 3 +++ UPGRADING.md | 2 +- src/views/alert.blade.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5fdee8..354f7ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to `ubient/laravel-flash-message` will be documented in this file +## 2.0.1 - 2018-11-04 +- Remove a trailing semicolon in `alert.blade.php` + ## 2.0.0 - 2018-11-04 - [Persist flash messages across redirects - #8](https://github.com/ubient/laravel-flash-message/issues/8) diff --git a/UPGRADING.md b/UPGRADING.md index e27d08f..e6bfeeb 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -7,7 +7,7 @@ The mechanism for flashing messages was adjusted to persist across redirects ([# If you didn't publish/customize the template (as described [here in the README](README.md#customizing-the-template)) and use the template shipping with this package, you can safely update to 2.x without any issues. If you did however publish the template, it will now be slightly out-of-date. -To update it and make it compatible with 2.x, all you need to do is [add one line to your `alert.blade.php` file](https://github.com/ubient/laravel-flash-message/commit/0e25c47b889eb168146773912f7e7577a989e838#diff-efa7508de9508f985738c4dbb5b6147b). +To update it and make it compatible with 2.x, all you need to do is add one line to your `alert.blade.php` file: ```php @if (session('flash_message') || session('status')) ... diff --git a/src/views/alert.blade.php b/src/views/alert.blade.php index 1b38322..a1b23e7 100644 --- a/src/views/alert.blade.php +++ b/src/views/alert.blade.php @@ -7,5 +7,5 @@ ])->get(session('flash_message.level', 'success')) }} rounded shadow-inner text-white p-4">

{{ session('flash_message.message', session('status')) }}

- @php(session()->forget('flash_message')); + @php(session()->forget('flash_message')) @endif