in app/controllers/SwitchesController.scala [10:15]
private def errorMessage(state: SwitchState) = s"Failed to update Emergency switch to ${state.name}. Contact digitalcms.dev@theguardian.com for more help."
private def success(state: SwitchState) = s"Emergency switch updated to ${state.name}"
def index = AuthAction { req =>
Ok(views.html.switches.switchValues(switches.allSwitches))
}