respond_to with format.html function