Dry-up IndexController.

I could not test locally (having an issue with installing Ruby 2.1.1) so you might need to tweak, but this is a good pattern. Essentially it is just building a computed property (similar to `DS.attr`).