Added index action to scaffolding controller and renamed show to get since the routing is expecting this action.