wrong order fix
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user