Fix routes used for "Clear cache" and "Restart"