Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dpogue/rails_wink
- Owner: dpogue
- License: mit
- Created: 2012-05-27T07:37:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-15T23:57:10.000Z (almost 12 years ago)
- Last Synced: 2024-11-16T20:37:08.358Z (about 2 months ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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