gauge/app/controllers/home_controller.rb
2016-10-04 14:00:30 +03:00

19 lines
337 B
Ruby

class HomeController < ApplicationController
def index
end
def ratings
@talks = Talk.ordered_by_rating
@ratings = Ratings.new
@votes_count = TalkPreference.count
end
def export
@talk_preferences = TalkPreference.this_years
end
def conflicts
@conflict_coefficients = ConflictCoefficient.all
end
end