Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple popup feedback form – Rails 3 engine
Ruby JavaScript
tag: v0.0.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
lib
test
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
feedback_popup.gemspec

README.md

feedback_popup

Simple feedback popup for Rails 3 applications.

Installation

Add to your Gemfile:

gem 'feedback_popup'

Run bundle install

config/initializers/feedback_popup.rb:

FeedbackPopup.setup do |config|
  config.mail_to   = 'you@example.com'
  config.mail_from = 'sender@example.com'
end

Add to your app/assets/stylesheets/application.css' or equivalent, normally just before therequire_tree` line:

 *= require feedback_popup

Add to your app/assets/javascripts/application.js' or equivalent, normally just before therequire_tree` line:

//= require feedback_popup

Add to your layout:

<%= feedback_popup %>

Make sure you have ActionMailer configured.

Restart your app.

Copyright

See the MIT-LICENSE file.

Something went wrong with that request. Please try again.