Simplify index controller