Change index action in issues api controller