create likeable_types method to check for valid resource
move redirect_back_or_to_default to application_controller