2015-10-06 15:21:46 +03:00
|
|
|
class HomeController < ApplicationController
|
|
|
|
def index
|
|
|
|
end
|
2015-10-06 21:37:53 +03:00
|
|
|
|
|
|
|
def ratings
|
|
|
|
@talks = Talk.ordered_by_rating
|
|
|
|
@ratings = Ratings.new
|
2015-10-15 21:38:46 +03:00
|
|
|
@votes_count = TalkPreference.count
|
2015-10-06 21:37:53 +03:00
|
|
|
end
|
2015-10-13 14:34:45 +03:00
|
|
|
|
|
|
|
def export
|
2016-10-04 13:50:45 +03:00
|
|
|
@talks = Talk.find(:all, from: :halfnarp_friendly)
|
2015-10-13 14:34:45 +03:00
|
|
|
@talk_preferences = TalkPreference.all
|
|
|
|
end
|
2015-10-15 02:01:03 +03:00
|
|
|
|
|
|
|
def conflicts
|
|
|
|
@conflict_coefficients = ConflictCoefficient.all
|
|
|
|
end
|
2015-10-06 15:21:46 +03:00
|
|
|
end
|