Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated README

  • Loading branch information...
commit a06e09ed5c8f989fd22edd2139bb8d940fa38c43 1 parent 43d9686
Wynn Netherland authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 README
  2. +1 −1  lib/ujs_sort_helper.rb
4 README
View
@@ -45,12 +45,12 @@ of the ujs_sort_helper:
<%= javascript_include_tag "lowpro"%>
you SHOULD already have this ;-)
- <%= javascript_include_tag "ujs_sort_helper"%>
+ <%= javascript_include_tag "ujs_sort_helper", :plugin => "ujs_sort_helper"%>
If you're using jQuery, simply include the jQuery version (assuming you already
have jQuery and livequery installed)
-<%= javascript_include_tag "ujs_sort_helper.jquery.js"%>
+<%= javascript_include_tag "ujs_sort_helper.jquery.js", :plugin => "ujs_sort_helper"%>
====View (table header in index.rhtml):
2  lib/ujs_sort_helper.rb
View
@@ -51,7 +51,7 @@
# - Introduces instance variables: @sort_name, @sort_default.
# - Introduces params :sort_key and :sort_order.
#
-module UnobtrusiveSortHelper
+module UjsSortHelper
# Initializes the default sort column (default_key) and sort order
# (default_order).
Please sign in to comment.
Something went wrong with that request. Please try again.