Revert "Remove respond_to block from BaseController#index"

This reverts commit 102ed6dcaa56527af554c561405d36a86c51c969.