gauge/app/controllers/home_controller.rb

19 lines
348 B
Ruby
Raw Normal View History

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
2016-10-06 20:30:28 +03:00
@votes_count = TalkPreference.this_years.count
2015-10-06 21:37:53 +03:00
end
2015-10-13 14:34:45 +03:00
def export
@talk_preferences = TalkPreference.this_years
2015-10-13 14:34:45 +03:00
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