https://github.com/bagilevi/feedback_popup
Simple popup feedback form – Rails 3 engine
https://github.com/bagilevi/feedback_popup
Last synced: 13 days ago
JSON representation
Simple popup feedback form – Rails 3 engine
- Host: GitHub
- URL: https://github.com/bagilevi/feedback_popup
- Owner: bagilevi
- License: mit
- Created: 2012-04-11T22:27:28.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-04-12T13:59:23.000Z (about 13 years ago)
- Last Synced: 2025-04-28T13:47:03.208Z (21 days ago)
- Language: Ruby
- Homepage:
- Size: 184 KB
- Stars: 5
- Watchers: 0
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# feedback_popup
Simple feedback popup for Rails 3 applications.
## Installation
Add to your `Gemfile`:
```ruby
gem 'feedback_popup'
```Run `bundle install`
`config/initializers/feedback_popup.rb`:
```ruby
FeedbackPopup.setup do |config|
config.mail_to = '[email protected]'
config.mail_from = '[email protected]'
end
```Add to your `app/assets/stylesheets/application.css' or equivalent,
normally just before the `require_tree` line:```
*= require feedback_popup
```Add to your `app/assets/javascripts/application.js' or equivalent,
normally just before the `require_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.