wrong order fix

This commit is contained in:
jomo
2013-08-02 08:14:32 +02:00
parent e052ad8859
commit ad3c67f924
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
class ForumgroupsController < ApplicationController
def index
@groups = Forumgroup.all.sort{|s| s[:position]}
@groups = Forumgroup.all.sort_by{|s| s[:position]}
end
end