diff --git a/README.md b/README.md
index 6521e75..86c2631 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,7 @@
Flash Notifications
===================
-**This is an experimental release.!**
-
-Laravel 5 flash notifications, originally developed after the Laracasts video tutorial : [Elegant Flash Messaging](https://laracasts.com/series/build-project-flyer-with-me/episodes/9).
+Laravel 5 flash notifications, originally developed after the Laracasts video tutorial : [Elegant Flash Messaging](https://laracasts.com/series/build-project-flyer-with-me/episodes/9) which uses [SweetAlert](http://t4t5.github.io/sweetalert/).
Quick Installation
------------------
@@ -12,6 +10,11 @@ Run the following command to install the package through Composer.
composer require srmklive/flash-notifications
```
+or in your composer.json file, add `"srmklive/flash-notifications": ">=0.1"` then run
+```
+composer update
+```
+
Once this operation is complete, simply add both the service provider and facade classes to your project's `config/app.php` file:
#### Laravel 5.0.x
@@ -36,12 +39,14 @@ Srmklive\FlashAlert\FlashAlertServiceProvider::class,
'FlashAlert' => Srmklive\FlashAlert\Facades\FlashAlert::class,
```
-#### Publish Configuration
+#### Publish Configuration & Views
+```
php artisan vendor:publish
+```
Usage
-----
-Usage is simple. Before redirecting to another page, simply call on `FlashAlert` to set your desired flash notification. There are a number of methods to assign different levels of priority (info, success, warning, and error).
+Simply call on `FlashAlert` to set your desired flash notification. There are a number of methods to assign different levels of priority (info, success, warning, and error).
#### Success
diff --git a/src/FlashAlertHandler.php b/src/FlashAlertHandler.php
index 6bcbdf7..e285366 100644
--- a/src/FlashAlertHandler.php
+++ b/src/FlashAlertHandler.php
@@ -53,7 +53,7 @@ public function warning($title, $message)
*/
public function error($title, $message)
{
- $this->message($title, $message, 'danger');
+ $this->message($title, $message, 'error');
}
/**
diff --git a/views/alert.blade.php b/views/alert.blade.php
index 5ff6837..33132b4 100644
--- a/views/alert.blade.php
+++ b/views/alert.blade.php
@@ -1,22 +1,20 @@
-@if(session()->has('flashalert'))
-
@section('styles')
@endsection
-
+@if(session()->has('flashalert'))
@section('scripts')
-
@endsection