Permalink
Browse files

Updated README

  • Loading branch information...
1 parent 43d9686 commit a06e09ed5c8f989fd22edd2139bb8d940fa38c43 Wynn Netherland committed Apr 21, 2008
Showing with 3 additions and 3 deletions.
  1. +2 −2 README
  2. +1 −1 lib/ujs_sort_helper.rb
View
4 README
@@ -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):
View
2 lib/ujs_sort_helper.rb
@@ -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).

0 comments on commit a06e09e

Please sign in to comment.