Skip to content
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.

Commit

Permalink
fixing install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Croak committed Jan 2, 2009
1 parent 9a73773 commit 16b6c68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.textile
@@ -1,10 +1,10 @@
h1. Sortable Table

Sort HTML tables in a Rails app.
Sort HTML tables in your Rails app.

h2. Install

script/plugin install git://github.com/dancroak/sortable_table.git
script/plugin install git://github.com/thoughtbot/sortable_table.git

In app/controllers/application_controller.rb:

Expand Down Expand Up @@ -129,8 +129,8 @@ h3. sort_order
The default sort order is descending. This applies to the first time you click on a table header. You can override this to be ascending:

def index
@users = User.find :all, :order => sort_order("ascending")
end
@users = User.find :all, :order => sort_order("ascending")
end

Authors
-------
Expand Down

0 comments on commit 16b6c68

Please sign in to comment.