Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Commit

Permalink
Remove a trailing semicolon in alert.blade.php (#11)
Browse files Browse the repository at this point in the history
* Remove trailing semicolon

* Update changelog
  • Loading branch information
claudiodekker authored Nov 4, 2018
1 parent b344ce5 commit 23fbc83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
...
Expand Down
2 changes: 1 addition & 1 deletion src/views/alert.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
])->get(session('flash_message.level', 'success')) }} rounded shadow-inner text-white p-4">
<p class="text-sm">{{ session('flash_message.message', session('status')) }}</p>
</div>
@php(session()->forget('flash_message'));
@php(session()->forget('flash_message'))
@endif

0 comments on commit 23fbc83

Please sign in to comment.