Comments

Comment feature for any applications's any models.

Gem Version Build Status

Installation

Add this line to your application's Gemfile:

gem 'comments'

And then execute:

$ bundle

Mount engine

in config/routes.rb

mount Comments::Engine => "/comments"

In view, render comment list:

# app/views/posts/show.html.erb

<%= comments_tag(@post) %>

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.