class FavoritesController < ApplicationController def people @favorite_people = FavoritePerson.where('user_id': current_user.id) .order(params[:sort]) @host = 'https://tiss.tuwien.ac.at' end def courses end def theses end def projects end end