'Unsupported browser' warning to IE users with Chrome Frame install link.
This is the warning that will be displayed
- Rails >= 3.1
Add this line to your application's Gemfile:
bundle use the generator
bad_browser:install. This will add the line
//= require bad_browser to application.js.
bad_browser_include_tag in your application's main layout.
<%= bad_browser_include_tag :ie_supported => 9 %>
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
- add option to pass
:nonein place of an IE version to display the warning to all IE users
0.0.2 - 2012/04/13
- Correct dependencies
- Use a more correct method to extend Rails::Engine
0.0.1 - 2012/04/12
- initial release of gem