Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Sep 14, 2020
1 parent d2c456d commit 1cb0996
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,10 @@ Mountable notifications for any Rails applications.

## Installation

```ruby
# Gemfile Rails ~> 5
gem 'notifications', '~> 0.6.0'
# Gemfile for Rails ~> 4.2
gem 'notifications', '~> 0.5.0'
```bash
$ bundle add notifications
```

And then run `bundle install`.

You now have a notifications generator in your Rails application:

```bash
Expand Down Expand Up @@ -73,7 +68,7 @@ read_count = Notification.read_count(current_user)
# for non-user class
Notifications.config.user_class = 'Member'

#or change
#or change

Notifications.configure do
# Class name of you User model, default: 'User'
Expand Down

0 comments on commit 1cb0996

Please sign in to comment.