diff options
author | mr <mr@mrautenberg.de> | 2011-10-11 12:40:21 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-10-11 12:40:21 +0200 |
commit | ab78958d59f7d7d2526ea7a9e997f9afd2a61cc0 (patch) | |
tree | e5cac1aaebe510cb375b06f85717643ff6dd92eb /application.rb | |
parent | 75228f3d37bc5120943569213c6364269d008cb5 (diff) | |
parent | d1a61ff236cf95a7f3cba4a60e85c14e877c730d (diff) |
Merge remote branch 'origin/development' into feature/endpointassignment
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application.rb b/application.rb index 50aee72..c41f072 100644 --- a/application.rb +++ b/application.rb @@ -102,7 +102,7 @@ get '/models/?' do @models = ToxCreateModel.all.sort(:order => "#{order}") end else - params["sort_by"] = "id" + params["sort_by"] = "created_at" end @models = ToxCreateModel.all.sort(:order => "DESC") unless @models |