Order the talks by their rating instead of title
This commit is contained in:
parent
eff79dab63
commit
7ac23f8797
|
@ -1,5 +1,5 @@
|
||||||
class ConflictsController < ApplicationController
|
class ConflictsController < ApplicationController
|
||||||
def index
|
def index
|
||||||
@talks = Talk.find(:all, from: :halfnarp_friendly).sort_by(&:title)
|
@talks = Talk.ordered_by_rating
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue