diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-29 19:05:21 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-29 19:05:21 +0000 |
commit | 11f45e188c59c8ad272a9fa611b387c54fcec80a (patch) | |
tree | 7fda0848a9f1f6409b5e3bcec5be1f6c66be0425 | |
parent | 9613b118b148dff0d54100d7f931189b59f3535c (diff) |
Irrelevant change
So, well, I found this change when I ran git diff; and the truth
is that I just prefer it aesthetically. Is that so sinful?
-rw-r--r-- | app/controllers/application_controller.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 5a295d3e7..1849f23f3 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -354,9 +354,7 @@ class ApplicationController < ActionController::Base @sortby = sortby # Work out sorting method - order_pair = order_to_sort_by(@sortby) - order = order_pair[0] - ascending = order_pair[1] + order, ascending = order_to_sort_by(@sortby) # Peform the search @per_page = per_page |