Set  content type in front controller.