Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dpogue/rails_wink

Wink allows users to easily provide browser details for debugging.
https://github.com/dpogue/rails_wink

Last synced: about 1 month ago
JSON representation

Wink allows users to easily provide browser details for debugging.

Awesome Lists containing this project

README

        

# Wink (for Rails)

## About
We got tired of asking people to send us their browser information, screen size, and plugins... so we made it easier for everybody.
Wink grabs a snapshot of the current browser and sends it away.

Please fork and make it better!

This was originally implemented for PHP by Denim & Steel: https://github.com/denimandsteel/wink

##Installation
Add `gem 'rails_wink'` to your Gemfile.

Generate the wink.yml configuration file with `rails g rails_wink:config`.
Edit the values to point to your support/bug tracking email address.

Mount the engine in your Rails application's config/routes.rb, like this:

```ruby
Rails.application.routes.draw do

# Mount the engine at /wink
mount RailsWink::Engine => '/wink', :as => 'wink'

end
```

Run your application, and visit /wink.

You can now do cool things like `link_to 'Report a Bug', wink.root_url` in your
application's views.

##License
MIT License
Copyright (C) 2012 Darryl Pogue