Skip to content

jcottobboni/alertify-rails-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alertify-rails

This gem provides alertify.js (v0.3.11) for Rails.

Installation

In your Gemfile:

gem 'alertify-rails'

or system wide:

$ gem install alertify-rails

Usage

The alertify files will be added to the asset pipeline and available for you to use. Add the following line to app/assets/javascripts/application.js

//= require alertify

In order to get the CSS, add the following line to app/assets/stylesheets/application.css.scss

/*
 *= require alertify
 */

In your application.html.erb

<%=alertify_flash%>

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright © 2012 Rudolf Schmidt, released under the MIT license

About

alertify for rails 4 apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages